Trait rusty_express::router::RouteHandler [] [src]

pub trait RouteHandler {
    fn handle_get(&self, req: Request, resp: &mut Response);
fn handle_put(&self, req: Request, resp: &mut Response);
fn handle_post(&self, req: Request, resp: &mut Response);
fn handle_delete(&self, req: Request, resp: &mut Response);
fn handle_other(&self, req: Request, resp: &mut Response); }

Required Methods

Implementors