addRequestHeaders

open suspend override fun addRequestHeaders(request: HttpRequestBuilder, authHeader: HttpAuthHeader?)

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