RequestHandler
A handler that modifies outgoing requests and optionally handles authentication on 401s.
Functions
Link copied to clipboard
If this returns true, handleAuthentication must be implemented.
Link copied to clipboard
open suspend fun handleAuthentication(client: HttpClient, url: URL, data: Any?, options: ClientRequestArgs): HttpResponse
Will not be called unless canHandleAuthentication is true.
Link copied to clipboard
Modify an outgoing request.