interceptable

open fun interceptable(request: Request): Boolean

Determine whether the request should be intercepted by this Interceptor.

Return

true if the request and response should be intercepted, otherwise false

Parameters

request

the proxy Request capable of being intercepted

Throws

if the interceptable check fails