links

The Links Programming Language
IN THIS PACKAGE
Parameter #1 Links_core . Evalir . Eval . Webs
type request_handler_fn = {
request_handler : Value.env * Value.t;
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 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