---
title: "Request"
sidebar_label: "Request"
description: "Kotlin binding reference: Request."
---

<!-- Generated by tools/api_reference/generate_api_docs.py. Do not edit. -->

//[clika-runtime](../../../index.md)/[io.clika.runtime](../index.md)/[Request](index.md)

# Request

[common]\
data class [Request](index.md)(val inputs: [Map](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-map/index.html)&lt;[String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html), [Tensor](../Tensor/index.md)&gt;, val priority: [Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) = 0, val deadlineMs: [Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html)? = null, val streaming: [Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html) = false)

A request: named inputs (the keys are the schema's input names; an input the schema does not declare is carried through for the phase body to read) plus scheduling hints. The tensors stay the caller's.

## Constructors

| | |
|---|---|
| [Request](Request.md) | [common]<br>constructor(inputs: [Map](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-map/index.html)&lt;[String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html), [Tensor](../Tensor/index.md)&gt;, priority: [Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) = 0, deadlineMs: [Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html)? = null, streaming: [Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html) = false) |

## Properties

| Name | Summary |
|---|---|
| [deadlineMs](deadlineMs.md) | [common]<br>val [deadlineMs](deadlineMs.md): [Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html)? = null |
| [inputs](inputs.md) | [common]<br>val [inputs](inputs.md): [Map](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-map/index.html)&lt;[String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html), [Tensor](../Tensor/index.md)&gt; |
| [priority](priority.md) | [common]<br>val [priority](priority.md): [Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) = 0 |
| [streaming](streaming.md) | [common]<br>val [streaming](streaming.md): [Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html) = false |