package h2-lwt

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Parameters

module Io : IO

Signature

type socket = Io.socket
val create_connection_handler : ?config:H2.Config.t -> request_handler:(Io.addr -> H2.Server_connection.request_handler) -> error_handler:(Io.addr -> H2.Server_connection.error_handler) -> Io.addr -> socket -> unit Lwt.t
val create_h2c_connection_handler : ?config:H2.Config.t -> http_request:Httpaf.Request.t -> ?request_body:Bigstringaf.t H2.IOVec.t list -> request_handler:(Io.addr -> H2.Server_connection.request_handler) -> error_handler:(Io.addr -> H2.Server_connection.error_handler) -> Io.addr -> socket -> (unit, string) result Lwt.t
OCaml

Innovation. Community. Security.