package paf

  1. Overview
  2. Docs
type t
type request
type response
module Body : sig ... end
val request : t -> request
val request_body : t -> Body.ro
val response : t -> response option
val response_exn : t -> response
val respond_with_string : t -> response -> string -> unit
val respond_with_bigstring : t -> response -> Bigstringaf.t -> unit
val respond_with_streaming : t -> ?flush_headers_immediately:bool -> response -> Body.wo
val report_exn : t -> exn -> unit
val try_with : t -> (unit -> unit) -> (unit, exn) Stdlib.result
OCaml

Innovation. Community. Security.