package piaf

  1. Overview
  2. Docs
module IOVec : sig ... end
module Method : module type of Method
module Headers : sig ... end
module Scheme : sig ... end
module Status : module type of Status
module Versions : sig ... end
module Config : sig ... end
module Error : sig ... end
module Body : sig ... end
module Request : sig ... end
module Response : sig ... end
module Form : sig ... end

Client -- Issuing requests

There are two options for issuing requests with Piaf:

  1. client: useful if multiple requests are going to be sent to the remote endpoint, avoids setting up a TCP connection for each request. Or if HTTP/1.0, you can think of this as effectively a connection manager.
  2. oneshot: issues a single request and tears down the underlying connection once the request is done. Useful for isolated requests.
module Client : sig ... end
module Server : sig ... end
module Cookies : sig ... end
OCaml

Innovation. Community. Security.