h2 icon indicating copy to clipboard operation
h2 copied to clipboard

HTTP/2 types and framing for ocaml

For something that is much further along please see: https://github.com/anmonteiro/http2af

HTTP/2 protocol [WIP]

This is a work in progress implementation of the HTTP/2 protocol stack in OCaml.

What's available so far?

  • Parser/Serializer for HTTP/2 frames.

What's left?

  • Everything :)
    1. Priority (A simple weighted priority queue is available. Priority Tree needs to be implemented.
    2. Hpack
    3. HTTP/2 stream/connection state machines

Notes

One of the goal of the implementation will be to make it easy to embed in other OCaml programs. This implementation will not handle TLS, HTTP/1 connection upgrades, etc.