ktor-utils
Toggle table of contents
3.2.1
common
Platform filter
common
Switch theme
Search in API
ktor-utils
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
)
(
source
)
Intercepts an untyped pipeline when the subject is of the given type
Report a problem