on Request
abstract fun onRequest(@NonNull request: HttpRequest, @NonNull continuation: HttpServiceInterceptorRequestContinuation)
The function to intercept HTTP requests with.
Parameters
request
The original HttpRequest object to be modified.
continuation
Callback to be invoked once the interceptor has finished processing the request. Can also be invoked with a HttpResponse, in which case the request completes immediately.