Skip to main content

async_http_client_with_headers

Function async_http_client_with_headers 

Source
async fn async_http_client_with_headers(
    oauth_request: HttpRequest,
) -> Result<HttpResponse, HttpClientError<Error>>
Expand description

oauth2’s HTTP transport, adapted to reqwest and tagged with the header that keeps TMC from rate-limiting the backend’s own auth requests.