Trait rusty_express::prelude::ResponseStates [] [src]

pub trait ResponseStates {
    fn to_keep_alive(&self) -> bool;
fn get_redirect_path(&self) -> String;
fn get_header(&self, key: &str) -> Option<&String>;
fn get_cookie(&self, key: &str) -> Option<&Cookie>;
fn get_content_type(&self) -> String;
fn status_is_set(&self) -> bool;
fn has_contents(&self) -> bool;
fn is_header_only(&self) -> bool;
fn get_channels(
        &mut self
    ) -> Result<(Arc<Sender<Box<String>>>, Arc<Receiver<Box<String>>>), &'static str>; }

Required Methods

Implementors