package ocamlapi_async

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
include sig ... end
type route = string * (Cohttp.Code.meth * callback) list
module type Routes = sig ... end
val default_exn_handler : exn_handler
val default_fallback : callback
type t
val create : ?exn_handler:exn_handler -> ?fallback_response:callback -> route list -> (t, exn) Core.Result.t
val create_exn : ?exn_handler:exn_handler -> ?fallback_response:callback -> route list -> t
val create_from_modules : ?exn_handler:exn_handler -> ?fallback_response:callback -> (module Routes) list -> (t, exn) Core.Result.t
val create_from_modules_exn : ?exn_handler:exn_handler -> ?fallback_response:callback -> (module Routes) list -> t
OCaml

Innovation. Community. Security.