ktor-client-core / io.ktor.client.features / HttpSend / intercept

intercept

fun intercept(block: HttpSendInterceptor): Unit

Install send pipeline starter interceptor

fun intercept(block: HttpSendInterceptorBackwardCompatible): Unit
Deprecated: Intercept with one parameter is deprecated, use both call and request builder as parameters.

Install send pipeline starter interceptor (backward compatible function).