#http-service #back-end #future #serve #traits #async-h1

http-service-h1

HttpService server that uses http-types and async-h1 as backend

1 unstable release

0.1.0 Apr 11, 2020

#30 in #http-service

Download history 29/week @ 2023-12-18 16/week @ 2023-12-25 7/week @ 2024-01-01 22/week @ 2024-01-08 23/week @ 2024-01-15 17/week @ 2024-01-22 9/week @ 2024-01-29 12/week @ 2024-02-05 30/week @ 2024-02-12 38/week @ 2024-02-19 55/week @ 2024-02-26 40/week @ 2024-03-04 47/week @ 2024-03-11 47/week @ 2024-03-18 53/week @ 2024-03-25 84/week @ 2024-04-01

238 downloads per month

MIT/Apache

15KB
153 lines

http-service

Types and traits to help you implement your own HTTP server

About

This crate has been deprecated. We recommend implementing inherent methods such as Tide's Server::respond method instead.

The crate http-service provides the necessary types and traits to implement your own HTTP Server.

For example you can use the workspace member http-service-hyper to run an HTTP Server.

  1. Runs via http_service_hyper::run(HTTP_SERVICE, ADDRESS);
  2. Returns a future which can be awaited via http_service_hyper::serve(HTTP_SERVICE, ADDRESS);

Contributing

Want to join us? Check out our The "Contributing" section of the guide and take a look at some of these issues:

Conduct

The http-service project adheres to the Contributor Covenant Code of Conduct. This describes the minimum behavior expected from all contributors.

License

MIT OR Apache-2.0


lib.rs:

HttpService server that uses async-h1 as backend.

Dependencies

~10–23MB
~354K SLoC