package http-lwt-client

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
module Version = Httpaf.Version
module Status = H2.Status
module Headers = H2.Headers
type response = {
  1. version : Version.t;
  2. status : Status.t;
  3. reason : string;
  4. headers : Headers.t;
}
val pp_response : Format.formatter -> response -> unit
val one_request : ?config:[ `HTTP_1_1 of Httpaf.Config.t | `H2 of H2.Config.t ] -> ?authenticator:X509.Authenticator.t -> ?meth:Httpaf.Method.t -> ?headers:(string * string) list -> ?body:string -> ?max_redirect:int -> string -> (response * string option, [> `Msg of string ]) Lwt_result.t
OCaml

Innovation. Community. Security.