package paf

  1. Overview
  2. Docs
type stack
val tcp_edn : (stack * Ipaddr.t * int) Mimic.value
val tls_edn : ([ `host ] Domain_name.t option * Tls.Config.client * stack * Ipaddr.t * int) Mimic.value
val request : ?config:Httpaf.Config.t -> ctx:Mimic.ctx -> error_handler: (Mimic.flow -> (Ipaddr.t * int) option -> Httpaf.Client_connection.error_handler) -> response_handler: ((Ipaddr.t * int) option -> Httpaf.Client_connection.response_handler) -> Httpaf.Request.t -> ([ `write ] Httpaf.Body.t, [> Mimic.error ]) result Lwt.t
OCaml

Innovation. Community. Security.