package links

  1. Overview
  2. Docs
type request_handler_fn = {
  1. request_handler : Value.env * Value.t;
  2. error_handler : Value.env * Value.t;
}
val set_prelude : Ir.binding list -> unit
val add_route : bool -> string -> (string * (string * string) list, request_handler_fn) Utility.either -> unit
val start : Value.env -> unit Lwt.t
val is_accepting_websocket_requests : unit -> bool
val set_accepting_websocket_requests : bool -> unit
OCaml

Innovation. Community. Security.