#include <clientlib.h>
Inherits client::EventTarget.
|
EventListener * | get_onerror () |
|
void | set_onerror (EventListener *) |
|
EventListener * | get_onmessage () |
|
void | set_onmessage (EventListener *) |
|
EventListener * | get_onopen () |
|
void | set_onopen (EventListener *) |
|
double | get_readyState () |
|
String * | get_url () |
|
bool | get_withCredentials () |
|
void | close () |
|
EventSource * | get_prototype () |
|
void | set_prototype (EventSource *) |
|
| EventSource (const String &url) |
|
| EventSource (const String &url, EventSourceInit *eventSourceInitDict) |
|
void | addEventListener (const String &type, EventListener *listener) |
|
void | addEventListener (const String &type, EventListener *listener, bool options) |
|
void | addEventListener (const String &type, EventListener *listener, AddEventListenerOptions *options) |
|
void | addEventListener (const String &type, EventListenerObject *listener) |
|
void | addEventListener (const String &type, EventListenerObject *listener, AddEventListenerOptions *options) |
|
bool | dispatchEvent (Event *evt) |
|
void | removeEventListener (const String &type) |
|
void | removeEventListener (const String &type, EventListener *listener) |
|
void | removeEventListener (const String &type, EventListener *listener, EventListenerOptions *options) |
|
void | removeEventListener (const String &type, EventListener *listener, bool options) |
|
void | removeEventListener (const String &type, EventListenerObject *listener) |
|
void | removeEventListener (const String &type, EventListenerObject *listener, bool options) |
|
EventTarget * | get_prototype () |
|
void | set_prototype (EventTarget *) |
|
| EventTarget () |
|
| Object () |
|
template<typename T > |
T | valueOf () |
|
| operator double () const |
|
Object * | operator[] (const client::String &name) const |
|
void | set_ (const client::String &name, Object *v) |
|
template<typename T , typename = typename std::enable_if<std::is_arithmetic<T>::value, T>::type> |
void | set_ (const client::String &name, T v) |
|
bool | hasOwnProperty (const client::String &name) |
|
◆ EventSource() [1/2]
client::EventSource::EventSource |
( |
const String & |
url | ) |
|
◆ EventSource() [2/2]
◆ close()
void client::EventSource::close |
( |
| ) |
|
◆ get_onerror()
◆ get_onmessage()
◆ get_onopen()
◆ get_prototype()
◆ get_readyState()
double client::EventSource::get_readyState |
( |
| ) |
|
◆ get_url()
String* client::EventSource::get_url |
( |
| ) |
|
◆ get_withCredentials()
bool client::EventSource::get_withCredentials |
( |
| ) |
|
◆ set_onerror()
◆ set_onmessage()
◆ set_onopen()
◆ set_prototype()
void client::EventSource::set_prototype |
( |
EventSource * |
| ) |
|