package naboris

  1. Overview
  2. Docs
Simple http server

Install

dune-project
 Dependency

Authors

Maintainers

Sources

0.1.3.tar.gz
md5=f7d1c959627f93fdcf9fd0c346edb9c9
sha512=344a03d18170368a3fedcc595f6cc103fe47449a77a9923ab58a7d20d8d291edfda624d27bbfd8dc05d9af33a797064efcbeb52a4f9ea57fa862ebd39b97cfa1

doc/naboris/Naboris/ErrorHandler/index.html

Module Naboris.ErrorHandler

Module with error handler types.

type t = exn -> Route.t -> ((string * string) list * string) Lwt.t

Called when Res.reportError is called. Expects return values of an Lwt.t promise containing a tuple of headers (list(string * string)) and response_body (string).