Struct rusty_express::HttpServer
[−]
[src]
pub struct HttpServer { /* fields omitted */ }
pub struct HttpServer { /* fields omitted */ }
impl HttpServer
[src]impl Router for HttpServer
[src]fn get(&mut self, uri: RequestPath, callback: Callback)
[src]fn put(&mut self, uri: RequestPath, callback: Callback)
[src]fn post(&mut self, uri: RequestPath, callback: Callback)
[src]fn delete(&mut self, uri: RequestPath, callback: Callback)
[src]fn other(&mut self, uri: RequestPath, callback: Callback)
[src]impl ServerDef for HttpServer
[src]fn def_router(&mut self, router: Route)
[src]fn set_pool_size(&mut self, size: usize)
[src]fn set_read_timeout(&mut self, timeout: u8)
[src]fn set_write_timeout(&mut self, timeout: u8)
[src]fn def_default_response_header(&mut self, header: HashMap<String, String>)
[src]fn set_default_response_header(&mut self, field: String, value: String)
[src]