Module Js_of_ocaml.XmlHttpRequest

XmlHttpRequest object.

type readyState =
| UNSENT
| OPENED
| HEADERS_RECEIVED
| LOADING
| DONE
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 ... end
and xmlHttpRequestUpload = object ... end
val create : unit -> xmlHttpRequest Js.t
module Event : sig ... end