BroadcastCustomMessage: fix command and event spec

This commit is contained in:
Stéphane Lepin
2019-07-26 09:30:30 +02:00
parent cda22233a6
commit fb0a57003c
2 changed files with 5 additions and 5 deletions

View File

@ -1508,8 +1508,8 @@ void WSEvents::OnStudioModeSwitched(bool checked) {
/**
* A custom broadcast message was received
*
* @param {String} `realm` Identifier provided by the sender
* @param {Object} `data` User-defined data
* @return {String} `realm` Identifier provided by the sender
* @return {Object} `data` User-defined data
*
* @api events
* @name BroadcastCustomMessage

View File

@ -234,10 +234,10 @@ HandlerResponse WSRequestHandler::HandleGetStats(WSRequestHandler* req) {
/**
* Broadcast custom message to all connected WebSocket clients
*
* @param {String} `realm` Identifier to be choosen by the client
* @param {Object} `data` User-defined data
* @return {String} `realm` Identifier to be choosen by the client
* @return {Object} `data` User-defined data
*
* @api general
* @api requests
* @name BroadcastCustomMessage
* @category general
* @since 4.7.0