Struct rustless::framework::app::Application [] [src]

pub struct Application {
    pub ext: TypeMap,
    pub root_api: Api,
}

Fields

ext: TypeMap root_api: Api

Methods

impl Application
[src]

fn new(root_api: Api) -> Application

fn call<'a>(&self, req: &'a mut Request + 'a) -> HandleResultStrict<Response>

Trait Implementations

impl Handler for Application
[src]

fn handle<'a, 'b>(&self, req: &mut Request<'a, 'b>) -> IronResult<Response>

Produce a Response from a Request, with the possibility of error.

impl Send for Application
[src]

impl Sync for Application
[src]

impl Extensible for Application
[src]

fn ext(&self) -> &TypeMap

fn ext_mut(&mut self) -> &mut TypeMap