Title here
Summary here
AbstractKind: global abstract class
Extends: Abstract
Service:
AbstractServer-sent events (SSE) is a technology where a browser/client receives automatic updates from a server via HTTP connection. The Server-Sent Events EventSource API is standardized as part of HTML5[1] by the W3C.
/!\ IMPORTANT: streaming in a one-way direction /!\
PromiseAttaches a handler to a source uri event.
Kind: instance method of AbstractSseClientService
| Param | Type |
|---|---|
| sourceUri | string |
| eventName | string |
| listener | function |
| [options] | Object |
PromiseRemovea handler to a source uri event.
Kind: instance method of AbstractSseClientService
| Param | Type |
|---|---|
| sourceUri | string |
| eventName | string |
| listener | function |
| [options] | Object |
Promise.<EventSource>Implementation for create a new EventSource model .
Kind: instance abstract method of AbstractSseClientService
| Param | Type | Description |
|---|---|---|
| uri | string | |
| [options] | Object | Some options... |