class HttpInterceptor
source · line 10public
public class HttpInterceptor public constructor(
internal val intercept: suspend (HttpCallChain) -> HttpCallResult
)
A suspend interceptor around a logical call. It may invoke the chain once while active and is responsible for returning a compatible owned result.
constructor constructor
source · line 10public
constructor(internal val intercept: suspend (HttpCallChain) -> HttpCallResult)
parameter intercept
source · line 11public
internal val intercept: suspend (HttpCallChain) -> HttpCallResult