sendevent
This resource transmits a messageEvent from the requesting client to a recipient client
If the interceptable propety is true
it may be blocked or modified by the acceptAtEventSource function. This function may also respond with custom crEvents to the other client via its eventsource instance.
The event will only be sent if appropriate credentials have been provided
Request parameters
- clientid
- Identifies the sender client.
- clientRole
- The role of the sender client ("controller" or "responder")
- accessToken
- An URLEncoded string containing the accessToken used to identify the current user and determine access rights
- recipientClientId
- Identifies the recipient client
- eventType
- The event type
- eventData
- An URLEncoded string containing the event data
Response
None
Event handling protocol
Outgoing events to to the requesting client
- crEvent.reject
-
A messageEvent containing a crEvent with eventType reject.
-
This event will be transmitted to the requesting client via its eventsource instance if a crEvent with
eventType ping event was not forwarded.
-
The eventSubType property may contain a code indicating why the event was rejected.