webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | Public Attributes | List of all members
EventSource Interface Reference

import"EventSource.idl";

Inheritance diagram for EventSource:
EventTarget

Public Member Functions

void close ()
 
- Public Member Functions inherited from EventTarget
void addEventListener ([AtomicString] DOMString type, EventListener? callback, optional(AddEventListenerOptions or boolean) options=false)
 
void removeEventListener ([AtomicString] DOMString type, EventListener? callback, optional(EventListenerOptions or boolean) options=false)
 
boolean dispatchEvent (Event event)
 

Public Attributes

readonly attribute USVString URL
 
readonly attribute USVString url
 
readonly attribute boolean withCredentials
 
const unsigned short CONNECTING = 0
 
const unsigned short OPEN = 1
 
const unsigned short CLOSED = 2
 
readonly attribute unsigned short readyState
 
attribute EventHandler onopen
 
attribute EventHandler onmessage
 
attribute EventHandler onerror
 

Member Function Documentation

◆ close()

void EventSource::close ( )

Member Data Documentation

◆ CLOSED

const unsigned short EventSource::CLOSED = 2

◆ CONNECTING

const unsigned short EventSource::CONNECTING = 0

◆ onerror

attribute EventHandler EventSource::onerror

◆ onmessage

attribute EventHandler EventSource::onmessage

◆ onopen

attribute EventHandler EventSource::onopen

◆ OPEN

const unsigned short EventSource::OPEN = 1

◆ readyState

readonly attribute unsigned short EventSource::readyState

◆ URL

readonly attribute USVString EventSource::URL

◆ url

readonly attribute USVString EventSource::url

◆ withCredentials

readonly attribute boolean EventSource::withCredentials

The documentation for this interface was generated from the following file: