HttpRequestPipeline

class HttpRequestPipeline(developmentMode: Boolean) : Pipeline<Any, HttpRequestBuilder>

HttpClient Pipeline used for executing HttpRequest.

Constructors

Link copied to clipboard
fun HttpRequestPipeline(developmentMode: Boolean = false)

Types

Link copied to clipboard
object Phases

All interceptors accept payload as subject and try to convert it to OutgoingContent Last phase should proceed with HttpClientCall

Functions

Link copied to clipboard
fun addPhase(phase: PipelinePhase)
Link copied to clipboard
open fun afterIntercepted()
Link copied to clipboard
suspend fun execute(context: HttpRequestBuilder, subject: Any): Any
Link copied to clipboard
fun insertPhaseAfter(reference: PipelinePhase, phase: PipelinePhase)
Link copied to clipboard
fun insertPhaseBefore(reference: PipelinePhase, phase: PipelinePhase)
Link copied to clipboard
fun intercept(phase: PipelinePhase, block: suspend PipelineContext<Any, HttpRequestBuilder>.(Any) -> Unit)
Link copied to clipboard
fun interceptorsForPhase(phase: PipelinePhase): List<suspend PipelineContext<Any, HttpRequestBuilder>.(Any) -> Unit>
Link copied to clipboard
fun merge(from: Pipeline<Any, HttpRequestBuilder>)
Link copied to clipboard
fun mergePhases(from: Pipeline<Any, HttpRequestBuilder>)
Link copied to clipboard
fun resetFrom(from: Pipeline<Any, HttpRequestBuilder>)

Properties

Link copied to clipboard
val attributes: Attributes
Link copied to clipboard
open override val developmentMode: Boolean = false
Link copied to clipboard
val isEmpty: Boolean
Link copied to clipboard
val items: List<PipelinePhase>