addRequestHeaders

abstract suspend fun addRequestHeaders(request: HttpRequestBuilder, authHeader: HttpAuthHeader? = null)

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