intercept

open fun intercept(request: Request)

Intercept the request before it is executed.

Parameters

request

the intercepted Request

Throws

if request interception fails


open fun intercept(response: Response)

Intercept the response after it is received.

Parameters

response

the intercepted Response

Throws

if response interception fails