ktor-client-core / io.ktor.client.request / HttpSendPipeline

HttpSendPipeline

class HttpSendPipeline : Pipeline<Any, HttpRequestBuilder>

HttpClient Pipeline used for sending HttpRequest to remote server.

Constructors

<init>

HttpSendPipeline(developmentMode: Boolean = false)

HttpClient Pipeline used for sending HttpRequest to remote server.

Properties

developmentMode

val developmentMode: Boolean

Companion Object Properties

Before

val Before: PipelinePhase

The earliest phase that happens before any other.

Engine

val Engine: PipelinePhase

Send request to remote server.

Monitoring

val Monitoring: PipelinePhase

Use this phase for logging and other actions that don't modify request or shared data.

Receive

val Receive: PipelinePhase

Receive pipeline execution phase.

State

val State: PipelinePhase

Use this phase to modify request with shared state.