ktor
2.2.4
3.0.0
3.0.0-rc-1
3.0.0-beta-2
3.0.0-beta-1
2.3.12
2.2.4
2.0.3
1.6.8
common
ktor-utils
/
io.ktor.util.pipeline
/
intercept
intercept
inline
fun
<
TSubject
:
Any
,
TContext
:
Any
>
Pipeline
<
*
,
TContext
>
.
intercept
(
phase
:
PipelinePhase
,
noinline
block
:
suspend
PipelineContext
<
TSubject
,
TContext
>
.
(
TSubject
)
->
Unit
)
Intercepts an untyped pipeline when the subject is of the given type