Struct actix_http::RequestHead [−][src]
pub struct RequestHead {
pub uri: Uri,
pub method: Method,
pub version: Version,
pub headers: HeaderMap,
pub extensions: RefCell<Extensions>,
pub peer_addr: Option<SocketAddr>,
// some fields omitted
}
Fields
uri: Uri
method: Method
version: Version
headers: HeaderMap
extensions: RefCell<Extensions>
peer_addr: Option<SocketAddr>
Implementations
Message extensions
Mutable reference to a the message’s extensions
Mutable reference to the message headers.
Is to uppercase headers with Camel-Case.
Default is false
Set true
to send headers which are formatted as Camel-Case.
Set connection type of the message
Connection type
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for RequestHead
impl !Send for RequestHead
impl !Sync for RequestHead
impl Unpin for RequestHead
impl !UnwindSafe for RequestHead
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
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more