H2H2 is a high-performance, memory-efficient, and scalable HTTP/2 implementation for OCaml. It is based on the concepts introduced http/af, and therefore uses the Angstrom and Faraday libraries to implement the parsing and serialization layers of the HTTP/2 standard. It preserves the same API as httpun wherever possible.
Not unlike httpun, the user should be familiar with HTTP, and the basic principles of memory management and vectorized IO in order to use this library.
module Method : module type of Httpun_types.MethodRequest Method
module Status : sig ... endResponse Status Codes
module Headers : sig ... endHeader Fields
module Body : sig ... endmodule Request : sig ... endRequest
module Response : sig ... endResponse
module IOVec : module type of Httpun_types.IOVecIOVec
module Reqd : sig ... endmodule Error_code : sig ... endmodule Settings : sig ... endmodule Config : sig ... endmodule Server_connection : sig ... endmodule Client_connection : sig ... end