Function start
Source pub fn start(port: u16, max_body: i32) -> Result<()>
Expand description
Start the HTTP server on the given port.
Spawns a background task that accepts connections. Register routes
with route before or after starting.
ยงErrors
Returns an error if the server cannot bind or start.