Struct diwata_server::handler::Server [−][src]
pub struct Server {}
An instance of the server. Runs a session of rustw.
Methods
impl Server
[src]
impl Server
pub fn new() -> Self
[src]
pub fn new() -> Self
pub fn route(
&self,
path: &str,
query: Option<&str>,
req: Request
) -> <Instance as Service>::Future
[src]
pub fn route(
&self,
path: &str,
query: Option<&str>,
req: Request
) -> <Instance as Service>::Future