Module EventSource

module EventSource : sig..end

EventSource binding


type state =  | CONNECTING | OPEN | 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