[][src]Struct eve_rs::Request

pub struct Request { /* fields omitted */ }

Implementations

impl Request[src]

pub async fn from_hyper(
    socket_addr: SocketAddr,
    req: HyperRequest<Body>
) -> Self
[src]

pub fn get_body_bytes(&self) -> &[u8][src]

pub fn get_body(&self) -> Result<String, Utf8Error>[src]

pub fn get_method(&self) -> &HttpMethod[src]

pub fn get_length(&self) -> u128[src]

pub fn get_path(&self) -> String[src]

pub fn get_full_url(&self) -> String[src]

pub fn get_origin(&self) -> Option<String>[src]

pub fn get_query_string(&self) -> String[src]

pub fn get_host(&self) -> String[src]

pub fn get_host_and_port(&self) -> String[src]

pub fn get_content_type(&self) -> String[src]

pub fn get_charset(&self) -> Option<String>[src]

pub fn get_protocol(&self) -> String[src]

pub fn is_secure(&self) -> bool[src]

pub fn get_ip(&self) -> IpAddr[src]

pub fn is(&self, mimes: &[&str]) -> bool[src]

pub fn get_version(&self) -> String[src]

pub fn get_version_major(&self) -> u8[src]

pub fn get_version_minor(&self) -> u8[src]

pub fn get_header(&self, field: &str) -> Option<String>[src]

pub fn get_headers(&self) -> &HashMap<String, Vec<String>>[src]

pub fn set_header(&mut self, field: &str, value: &str)[src]

pub fn append_header(&mut self, key: String, value: String)[src]

pub fn remove_header(&mut self, field: &str)[src]

pub fn get_query(&self) -> &HashMap<String, String>[src]

pub fn get_params(&self) -> &HashMap<String, String>[src]

pub fn get_cookies(&self) -> &Vec<Cookie>[src]

Trait Implementations

impl Clone for Request[src]

impl Debug for Request[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.