Js_of_ocaml.XmlHttpRequestXmlHttpRequest object.
type _ response = | ArrayBuffer : Typed_array.arrayBuffer Js.t Js.Opt.t response |
| Blob : Js_of_ocaml__.File.#blob Js.t Js.Opt.t response |
| Document : Dom.element Dom.document Js.t Js.Opt.t response |
| JSON : 'a Js.Opt.t response |
| Text : Js.js_string Js.t response |
| Default : string response |
class type xmlHttpRequest = object ... endclass type xmlHttpRequestUpload = object ... endval create : unit -> xmlHttpRequest Js.tThe next part of this module allow one to use Ocaml with no need for Javascript documentation.
module Event : sig ... end