Package io.ktor.pipeline

Type Aliases

ContextDsl

typealias ContextDsl = ContextDsl

InvalidPhaseException

typealias InvalidPhaseException = InvalidPhaseException

Pipeline

typealias Pipeline<TSubject, TContext> = Pipeline<TSubject, TContext>

PipelineContext

typealias PipelineContext<TSubject, TContext> = PipelineContext<TSubject, TContext>

PipelineInterceptor

typealias PipelineInterceptor<TSubject, TContext> = PipelineInterceptor<TSubject, TContext>

PipelinePhase

typealias PipelinePhase = PipelinePhase

Functions

execute

suspend fun <TContext : Any> Pipeline<Unit, TContext>.execute(
    context: TContext
): Unit

intercept

fun <TSubject : Any, TContext : Any> Pipeline<*, TContext>.intercept(
    phase: PipelinePhase,
    block: suspend PipelineContext<TSubject, TContext>.(TSubject) -> Unit
): Unit