The Octane server # Example ```no_run use octane::prelude::*; #[tokio::main] async fn main() { let mut app = Octane::new(); app.get( "/", route!( |req, res| { res.send("Hello, World"); Flow::Stop } ), ); let port = 8080; app.listen(port, || { println!("Server started on port {}", port); }).await.expect("Cannot establish connection"); } ```
source not stored for this graph (policy: none)
nothing calls this directly
no outgoing calls
no test coverage detected