HttpReceivePipeline

class HttpReceivePipeline(developmentMode: Boolean) : Pipeline<HttpResponse, Unit>

HttpClient Pipeline used for receiving HttpResponse without any processing.

Constructors

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

Types

Link copied to clipboard
object Phases

Functions

Link copied to clipboard
fun addPhase(phase: PipelinePhase)
Link copied to clipboard
open fun afterIntercepted()
Link copied to clipboard
suspend fun execute(context: Unit, subject: HttpResponse): HttpResponse
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<HttpResponse, Unit>.(HttpResponse) -> Unit)
Link copied to clipboard
fun interceptorsForPhase(phase: PipelinePhase): List<suspend PipelineContext<HttpResponse, Unit>.(HttpResponse) -> Unit>
Link copied to clipboard
fun merge(from: Pipeline<HttpResponse, Unit>)
Link copied to clipboard
fun mergePhases(from: Pipeline<HttpResponse, Unit>)
Link copied to clipboard
fun resetFrom(from: Pipeline<HttpResponse, Unit>)

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>