package js_of_ocaml

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type state =
  1. | CONNECTING
  2. | OPEN
  3. | CLOSED
class type 'a messageEvent = object ... end
class type eventSource = object ... end
class type options = object ... end
val withCredentials : bool -> options Js.t
val eventSource : (Js.js_string Js.t -> eventSource Js.t) Js.constr
val eventSource_options : (Js.js_string Js.t -> options Js.t -> eventSource Js.t) Js.constr
val addEventListener : eventSource as 'a Js.t -> 'b Dom.Event.typ -> ('a Js.t, 'b) Dom.event_listener -> bool Js.t -> Dom.event_listener_id
OCaml

Innovation. Community. Security.