NotificationSubscriptions¶
Service allows to subscribe to server notifications. NotificationSubscriptions based on signalR components - a set of server and clients libraries providing two way real time interaction between server and client.
Description¶
Regulary working with a web-page, both request and transmission is initiated by a client. However in some cases updating data on the web-page should be done timely. To inform clients about changes so called push-notifications are used. SignaR can organize those. NotificationSubscriptions service allows subscribe to notifications from external services made with SignalR.
Parameters¶
No
Methods¶
| Name | Description |
|---|---|
| subscribe | Adds subsciption to event |
| unsubscribe | Removes subscribtion to event |
| startConnection | Sets server connection and adds listeners in accordance to certain keys |
| stopConnection | Removes server connection |
| reconnection | Re-establishes conection to a server with certain parameters |
| isDisconnected | Checks if the connection is removed |
| on | Checks subscription signalR status |