Protocol::HTTP
Provides abstractions for working with the HTTP protocol.
Features
- General abstractions for HTTP requests and responses.
- Symmetrical interfaces for client and server.
- Light-weight middleware model for building applications.
Usage
Please browse the source code index or refer to the guides below.
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.
Contributing
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.
Developer Certificate of Origin
This project uses the Developer Certificate of Origin. All contributors to this project must agree to this document to have their contributions accepted.
Contributor Covenant
This project is governed by the Contributor Covenant. All contributors and participants agree to abide by its terms.
See Also
- 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.