21 lines
329 B
JavaScript
21 lines
329 B
JavaScript
/**
|
|
* The message type for events.
|
|
*
|
|
* @type {string}
|
|
*/
|
|
export const MESSAGE_TYPE_EVENT = 'event';
|
|
|
|
/**
|
|
* The message type for requests.
|
|
*
|
|
* @type {string}
|
|
*/
|
|
export const MESSAGE_TYPE_REQUEST = 'request';
|
|
|
|
/**
|
|
* The message type for responses.
|
|
*
|
|
* @type {string}
|
|
*/
|
|
export const MESSAGE_TYPE_RESPONSE = 'response';
|