Constructor
new NotificationRouterServer(sdk, serverUrl, opts)
Create a new NotificationRouter instance.
- Source:
Parameters:
Name | Type | Description | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
sdk |
ShelfNetwork
|
Parent SDK instance. |
||||||||||||||||||||
serverUrl |
string
|
NotificationRouter URL. |
||||||||||||||||||||
opts |
Object
|
|
Classes
Methods
sendNotification(opts) → {JsonApiResponse}
SendNotification
- Source:
Parameters:
Name | Type | Description | ||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
opts |
Object
|
|
Returns:
- Type:
-
JsonApiResponse