Struct fibers_http_server::Req [] [src]

pub struct Req<T> { /* fields omitted */ }

HTTP request.

Methods

impl<T> Req<T>
[src]

[src]

Returns the method of the request.

[src]

Returns the URL of the request.

Note that the peer address of the client socket is used as the host and port of the URL.

[src]

Returns the HTTP version of the request.

[src]

Returns the header of the response.

Important traits for &'a mut W
[src]

Returns a reference to the body of the response.

[src]

Takes ownership of the request, and returns its body.

[src]

Splits the head part and the body part of the request.

Trait Implementations

impl<T: Debug> Debug for Req<T>
[src]

[src]

Formats the value using the given formatter. Read more

impl<T: Display> Display for Req<T>
[src]

[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl<T> Send for Req<T> where
    T: Send

impl<T> Sync for Req<T> where
    T: Sync