macro_rules! route {
($path:expr, $method:expr, $handler_fn:expr) => { ... };
($path:expr, $method:expr, $handler_fn:expr, $protocol:expr) => { ... };
}Expand description
Builds a route for synchronous servers.
macro_rules! route {
($path:expr, $method:expr, $handler_fn:expr) => { ... };
($path:expr, $method:expr, $handler_fn:expr, $protocol:expr) => { ... };
}Builds a route for synchronous servers.