`method url : Js_of_ocaml__.Js.js_string Js_of_ocaml__.Js.t Js_of_ocaml__.Js.readonly_prop`
`method withCredentials : bool Js_of_ocaml__.Js.t Js_of_ocaml__.Js.readonly_prop`
`method readyState : state Js_of_ocaml__.Js.readonly_prop`
`method close : unit Js_of_ocaml__.Js.meth`
`method onopen : ('self Js_of_ocaml__.Js.t, 'self Js_of_ocaml__.Dom.event Js_of_ocaml__.Js.t) Js_of_ocaml__.Dom.event_listener Js_of_ocaml__.Js.writeonly_prop`
`method onmessage : ('self Js_of_ocaml__.Js.t, 'self messageEvent Js_of_ocaml__.Js.t) Js_of_ocaml__.Dom.event_listener Js_of_ocaml__.Js.writeonly_prop`
`method onerror : ('self Js_of_ocaml__.Js.t, 'self Js_of_ocaml__.Dom.event Js_of_ocaml__.Js.t) Js_of_ocaml__.Dom.event_listener Js_of_ocaml__.Js.writeonly_prop`