package ocaml-js-stdlib

  1. Overview
  2. Docs
type settings
type t
val settings : ?async:bool -> ?cache:bool -> ?complete:(t -> string -> unit) -> ?error:(t -> string -> string -> unit) -> ?success:(Ojs.t -> string -> t -> unit) -> ?data:Ojs.t -> ?data_type:string -> ?meth:[ `GET | `POST | `PUT ] -> ?content_type:string -> ?url:string -> unit -> settings
val run : settings -> unit
val response_text : t -> string
val status : t -> int
OCaml

Innovation. Community. Security.