- Source:
Methods
(static) connect(endpoint, optionsopt)
Connect to a Meteor server using a given websocket endpoint.
The endpoint needs to start with `ws://` or `wss://`
and has to end with `/websocket`.
Parameters:
| Name | Type | Attributes | Description | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
endpoint |
string | required, websocket of Meteor server to connect with | |||||||||||||||||
options |
object |
<optional> |
optional options
Properties
|
- Source:
(static) enableVerbose()
Calling this enables extended internal logging to console
- Source:
(static) getData() → {Data}
returns the Data layer implementation
- Source:
Returns:
- Type
- Data
(static) status() → {object}
Reactive. Returns the current connection status.
- Source:
Returns:
`{connected: boolean, status: string}`
- Type
- object