package js_of_ocaml

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Js_of_ocaml.WebSocketsSource

WebSocket binding

Sourcetype readyState =
  1. | CONNECTING
  2. | OPEN
  3. | CLOSING
  4. | CLOSED
Sourceclass type 'a closeEvent = object ... end
Sourceclass type 'a messageEvent = object ... end
Sourceclass type webSocket = object ... end
Sourceval webSocket_withProtocol : (Js.js_string Js.t -> Js.js_string Js.t -> webSocket Js.t) Js.constr
Sourceval is_supported : unit -> bool
OCaml

Innovation. Community. Security.