addRequestHeaders
abstract suspend fun addRequestHeaders(request: HttpRequestBuilder, authHeader: HttpAuthHeader? = null)
Content copied to clipboard
Adds an authentication method headers and credentials.
Parameters
authHeader
value of WWW-Authenticate
header from failed response, if exists
request
builder for an authenticated request