Re-exports§
pub use crate::handler::handle;pub use crate::handler::handle_func;
Structs§
- Server
- An HTTP/1.1 server. Mirrors Go’s
http.Server.
Functions§
- listen_
and_ serve - Bind to
addr, usehandler(orDefaultServeMuxifNone), and serve. - listen_
and_ serve_ tls - Bind to
addr, load TLS credentials, and serve HTTPS.