package async_js

  1. Overview
  2. Docs
type 'a t = 'a XmlHttpRequest.response =
  1. | ArrayBuffer : Typed_array.arrayBuffer Js.t Js.Opt.t t
  2. | Blob : File.blob Js.t Js.Opt.t t
  3. | Document : Dom.element Dom.document Js.t Js.Opt.t t
  4. | JSON : 'a Js.Opt.t t
  5. | Text : Js.js_string Js.t t
  6. | Default : string t