uhttp 0.20.0

Simple http server for humans
Documentation
1
2
3
4
5
pub fn without_context<T: 'static + Clone + Send + Sync>(
  handler: crate::HandleFunc
) -> crate::router::RouterHandleFunc<T> {
  Box::new(move |req, res, _ctx| handler(req, res))
}