Struct actix_web::dev::RequestHead
source[−]pub struct RequestHead {
pub method: Method,
pub uri: Uri,
pub version: Version,
pub headers: HeaderMap,
pub peer_addr: Option<SocketAddr>,
/* private fields */
}
Fields
method: Method
uri: Uri
version: Version
headers: HeaderMap
peer_addr: Option<SocketAddr>
Implementations
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
Returns the “default value” for a type. Read more
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
pub fn vzip(self) -> V
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