Scoop API

scoop:scoop.http.client:0.1.0

HttpInterceptor

class HttpInterceptor

source · line 10
public
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.