package httpun-lwt-unix

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
include Httpun_lwt.Client with type socket = Gluten_lwt_unix.Client.SSL.socket and type runtime = Gluten_lwt_unix.Client.SSL.t
type t = {
  1. connection : Httpun.Client_connection.t;
  2. runtime : runtime;
}
val create_connection : ?config:Httpun.Config.t -> socket -> t Lwt.t
val request : t -> ?flush_headers_immediately:bool -> Httpun.Request.t -> error_handler:Httpun.Client_connection.error_handler -> response_handler:Httpun.Client_connection.response_handler -> Httpun.Body.Writer.t
val shutdown : t -> unit Lwt.t
val is_closed : t -> bool
val upgrade : t -> Gluten.impl -> unit
val create_connection_with_default : ?config:Httpun.Config.t -> Lwt_unix.file_descr -> t Lwt.t
OCaml

Innovation. Community. Security.