pub trait HttpRequestHeaders {
// Required method
fn request_headers(&self) -> Option<&HeaderMap>;
}Expand description
Supplies additional HTTP headers to apply to an outgoing request.
Implemented on the client’s context type rather than on FHIRHttpState so
that headers may vary per call instead of being fixed for the lifetime of the
client.
Required Methods§
Sourcefn request_headers(&self) -> Option<&HeaderMap>
fn request_headers(&self) -> Option<&HeaderMap>
Headers to apply to the request, or None to send it unchanged.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".