HttpServiceInterceptorRequestContinuation

Continuation to be invoked once the interceptor is done processing a request. If invoked with a HttpRequest, the HTTP service will proceed to make a request via the network. Invoking the continuation with a HttpResponse bypasses the network and causes the request to complete immediately with the specified response.

Functions

Link copied to clipboard
abstract fun run(@NonNull result: HttpRequestOrResponse)