Crate mas_http

Source
Expand description

Utilities to do HTTP requests

Traits§

CorsLayerExt
RequestBuilderExt
An extension trait implemented for reqwest::RequestBuilder to send a request with a tracing span, and span context propagated.

Functions§

reqwest_client
Create a new reqwest::Client with sane parameters
set_propagator
Notify the CORS layer what opentelemetry propagators are being used. This helps whitelisting headers in CORS requests.