package piaf

  1. Overview
  2. Docs
include Httpaf_lwt.Client with type socket = Lwt_unix.file_descr and type runtime = Gluten_lwt_unix.Client.t
type socket = Lwt_unix.file_descr
type t = {
  1. connection : Httpaf.Client_connection.t;
  2. runtime : runtime;
}
val create_connection : ?config:Httpaf.Config.t -> socket -> t Lwt.t
val shutdown : t -> unit Lwt.t
val is_closed : t -> bool
val upgrade : t -> Gluten.impl -> unit
module TLS : sig ... end
module SSL : sig ... end