Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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: about 2 months ago
JSON representation

Types and traits for http-based services using the latest futures API

Awesome Lists containing this project

README

        

http-service




Types and traits to help you implement your own HTTP server





Crates.io version



Download



docs.rs docs




API Docs

|

Chat


## 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