Provides abstractions for working with the HTTP protocol.
- General abstractions for HTTP requests and responses.
- Symmetrical interfaces for client and server.
- Light-weight middleware model for building applications.
Please see the project documentation for more details.
-
Getting Started - This guide explains how to use
protocol-http
for building abstract HTTP interfaces. -
Design Overview - This guide explains the high level design of
protocol-http
in the context of wider design patterns that can be used to implement HTTP clients and servers.
We welcome contributions to this project.
- Fork it.
- Create your feature branch (
git checkout -b my-new-feature
). - Commit your changes (
git commit -am 'Add some feature'
). - Push to the branch (
git push origin my-new-feature
). - Create new Pull Request.
In order to protect users of this project, we require all contributors to comply with the Developer Certificate of Origin. This ensures that all contributions are properly licensed and attributed.
This project is best served by a collaborative and respectful environment. Treat each other professionally, respect differing viewpoints, and engage constructively. Harassment, discrimination, or harmful behavior is not tolerated. Communicate clearly, listen actively, and support one another. If any issues arise, please inform the project maintainers.
- protocol-http1 — HTTP/1 client/server implementation using this interface.
- protocol-http2 — HTTP/2 client/server implementation using this interface.
- async-http — Asynchronous HTTP client and server, supporting multiple HTTP protocols & TLS.
- async-websocket — Asynchronous client and server WebSockets.