package naboris

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t = {
  1. status : int;
  2. headers : (string * string) list;
}
val default : unit -> t
val createResponse : t -> Httpaf.Response.t
val addHeader : (string * string) -> t -> t
val status : int -> t -> t
val html : Req.t -> string -> t -> unit
val streamFileContentsToBody : string -> [ `write ] Httpaf.Body.t -> unit Lwt.t
val static : string -> string list -> Req.t -> t -> unit Lwt.t
OCaml

Innovation. Community. Security.