package yurt

  1. Overview
  2. Docs
module Request = Cohttp_lwt_unix.Request
module Response = Cohttp.Response
module Header = Cohttp.Header
module Body : sig ... end
type status_code = Cohttp.Code.status_code

Response status code

and response = (Response.t * Body.t) Lwt.t

Response type

and endpoint = Request.t -> Yurt_route.params -> Body.t -> response

HTTP handler

module Query : sig ... end
OCaml

Innovation. Community. Security.