0.03
No release in over 3 years
Provides abstractions to handle HTTP1 and HTTP2 protocols.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 1.16
~> 10.0
~> 3.0

Runtime

~> 0.1.0
 Project Readme

Protocol::HTTP

Provides abstractions for working with the HTTP protocol.

Development Status

Features

  • General abstractions for HTTP requests and responses.
  • Symmetrical interfaces for client and server.
  • Light-weight middleware model for building applications.

Usage

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.

Contributing

We welcome contributions to this project.

  1. Fork it.
  2. Create your feature branch (git checkout -b my-new-feature).
  3. Commit your changes (git commit -am 'Add some feature').
  4. Push to the branch (git push origin my-new-feature).
  5. 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.