#[attr_macro_http_server]Expand description
Enables a HTTP server main function, for creating HTTP servers.
§Examples
ⓘ
#[wstd::http_server]
async fn main(request: Request<Body>) -> Result<Response<Body>> {
Ok(Response::new("Hello!\n".into()))
}