Struct openidconnect::HttpRequest [−][src]
pub struct HttpRequest { pub url: Url, pub method: Method, pub headers: HeaderMap<HeaderValue>, pub body: Vec<u8, Global>, }
Expand description
An HTTP request.
Fields
url: Url
URL to which the HTTP request is being made.
method: Method
HTTP request method for this request.
headers: HeaderMap<HeaderValue>
HTTP request headers to send.
body: Vec<u8, Global>
HTTP request body (typically for POST requests only).
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for HttpRequest
impl Send for HttpRequest
impl Sync for HttpRequest
impl Unpin for HttpRequest
impl UnwindSafe for HttpRequest
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V