Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/http-rs/http-service
Types and traits for http-based services using the latest futures API
https://github.com/http-rs/http-service
Last synced: 13 days ago
JSON representation
Types and traits for http-based services using the latest futures API
- Host: GitHub
- URL: https://github.com/http-rs/http-service
- Owner: http-rs
- License: mit
- Archived: true
- Created: 2018-11-29T18:04:53.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-06-21T11:17:45.000Z (over 4 years ago)
- Last Synced: 2024-10-14T02:36:15.358Z (about 1 month ago)
- Language: Rust
- Homepage: https://docs.rs/http-service
- Size: 121 KB
- Stars: 102
- Watchers: 11
- Forks: 24
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
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`](https://docs.rs/tide/0.11.0/tide/struct.Server.html#method.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`](https://crates.io/crates/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 `await`ed via
`http_service_hyper::serve(HTTP_SERVICE, ADDRESS);`## Contributing
Want to join us? Check out our [The "Contributing" section of the
guide][contributing] and take a look at some of these issues:- [Issues labeled "good first issue"][good-first-issue]
- [Issues labeled "help wanted"][help-wanted]#### Conduct
The http-service project adheres to the [Contributor Covenant Code of
Conduct](https://github.com/http-rs/.github/blob/master/CODE_OF_CONDUCT.md).
This describes the minimum behavior expected from all contributors.## License
[MIT](./LICENSE-MIT) OR [Apache-2.0](./LICENSE-APACHE)
[contributing]: https://github.com/http-rs/.github/blob/master/CONTRIBUTING.md
[good-first-issue]: https://github.com/http-rs/http-service/labels/good%20first%20issue
[help-wanted]: https://github.com/http-rs/http-service/labels/help%20wanted