HttpServiceInterceptorInterface

interface HttpServiceInterceptorInterface

Interface for intercepting and modifying HttpService function calls.

Functions

onDownload
Link copied to clipboard
abstract fun onDownload(@NonNull download: DownloadOptions): DownloadOptions
The function to intercept HTTP download options with.
onRequest
Link copied to clipboard
abstract fun onRequest(@NonNull request: HttpRequest): HttpRequest
The function to intercept HTTP requests with.
onResponse
Link copied to clipboard
abstract fun onResponse(@NonNull response: HttpResponse): HttpResponse
The function to intercept HTTP responses with.