Messaging
Extends:
src/mapping/core.js~Service → Messaging
Messaging service
Simple and flexible user-to-user or user-to-group messaging service.
Static Member Summary
Static Public Members | ||
public static get |
Get default deployment id associated to Messaging service |
Method Summary
Public Methods | ||
public |
send(objectPattern: {"target": *, "channel": *, "data": *}): * Sends a message to a target |
Static Public Members
Public Methods
public send(objectPattern: {"target": *, "channel": *, "data": *}): * source
Sends a message to a target
Sends the given message to the specified target on the given (optional) channel. The administratively given default channel name is used when none is provided in the message itself.
Params:
Name | Type | Attribute | Description |
objectPattern | {"target": *, "channel": *, "data": *} |
|
Return:
* |