Module Js_of_ocaml__.WebSockets

type readyState =
| CONNECTING
| OPEN
| CLOSING
| CLOSED
class type 'a closeEvent = object ... end
class type 'a messageEvent = object ... end
class type webSocket = object ... end
val webSocket : (Js_of_ocaml.Js.js_string Js_of_ocaml.Js.t -> webSocket Js_of_ocaml.Js.t) Js_of_ocaml.Js.constr
val webSocket_withProtocol : (Js_of_ocaml.Js.js_string Js_of_ocaml.Js.t -> Js_of_ocaml.Js.js_string Js_of_ocaml.Js.t -> webSocket Js_of_ocaml.Js.t) Js_of_ocaml.Js.constr
val webSocket_withProtocols : (Js_of_ocaml.Js.js_string Js_of_ocaml.Js.t -> Js_of_ocaml.Js.js_string Js_of_ocaml.Js.t Js_of_ocaml.Js.js_array Js_of_ocaml.Js.t -> webSocket Js_of_ocaml.Js.t) Js_of_ocaml.Js.constr
val is_supported : unit -> bool