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 get_websocket_url : unit -> string
val get_internal_base_url : unit -> string option
val get_external_base_url : unit -> string option
val init : (Value.env * Ir.var Env.String.t * Types.typing_environment) -> Ir.binding list -> string list -> unit
val set_prelude : Ir.binding list -> unit
val get_prelude : unit -> Ir.binding list
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.