ktor-server-core / io.ktor.request / ApplicationReceiveRequest / <init>

<init>

ApplicationReceiveRequest(type: KClass<*>, value: Any) ApplicationReceiveRequest(typeInfo: KType, value: Any, reusableValue: Boolean = false)

Represents a subject for ApplicationReceivePipeline

Parameters

typeInfo - specifies the desired type for a receiving operation

value - specifies current value being processed by the pipeline

reusableValue - indicates whether the value instance can be reused. For example, a stream can't.