Class type WebSockets.webSocket
inherit Dom_html.eventTarget
method url : Js.js_string Js.t Js.readonly_propmethod readyState : readyState Js.readonly_propmethod bufferedAmount : int Js.readonly_propmethod onopen : ('self Js.t, 'self Dom.event Js.t) Dom.event_listener Js.writeonly_propmethod onclose : ('self Js.t, 'self closeEvent Js.t) Dom.event_listener Js.writeonly_propmethod onerror : ('self Js.t, 'self Dom.event Js.t) Dom.event_listener Js.writeonly_propmethod extensions : Js.js_string Js.t Js.readonly_propmethod protocol : Js.js_string Js.t Js.readonly_propmethod close : unit Js.methmethod close_withCode : int -> unit Js.methmethod close_withCodeAndReason : int -> Js.js_string Js.t -> unit Js.methmethod onmessage : ('self Js.t, 'self messageEvent Js.t) Dom.event_listener Js.writeonly_propmethod binaryType : Js.js_string Js.t Js.propmethod send : Js.js_string Js.t -> unit Js.methmethod send_buffer : Typed_array.arrayBuffer Js.t -> unit Js.methmethod send_blob : File.blob Js.t -> unit Js.meth