package httpaf_caged

  1. Overview
  2. Docs
module Response_body : sig ... end
type response = Response.t * Response_body.t
type request_handler = body:[ `read ] Body.t -> Async.Socket.Address.Inet.t -> Request.t -> response Async.Deferred.t
val respond_string : ?headers:Headers.t -> ?status:Status.t -> string -> response Async.Deferred.t
val respond_with_redirect : ?headers:Headers.t -> Uri.t -> response Async.Deferred.t
val respond_with_pipe : ?headers:Headers.t -> ?status:Status.t -> string Async.Pipe.Reader.t -> response Async.Deferred.t
val respond_with_file : ?headers:Headers.t -> ?status:Status.t -> string -> response Async.Deferred.t
OCaml

Innovation. Community. Security.