mirror of
https://github.com/Palakis/obs-websocket.git
synced 2024-08-30 18:12:16 +00:00
Merge pull request #124 from haganbmj/patch-2
docs: HandleSetHeartbeat -> SetHeartbeat
This commit is contained in:
commit
7251862ecf
@ -306,7 +306,7 @@ void WSRequestHandler::HandleAuthenticate(WSRequestHandler* req) {
|
|||||||
* @param {boolean} `enable` Starts/Stops emitting heartbeat messages
|
* @param {boolean} `enable` Starts/Stops emitting heartbeat messages
|
||||||
*
|
*
|
||||||
* @api requests
|
* @api requests
|
||||||
* @name HandleSetHeartbeat
|
* @name SetHeartbeat
|
||||||
* @category general
|
* @category general
|
||||||
*/
|
*/
|
||||||
void WSRequestHandler::HandleSetHeartbeat(WSRequestHandler* req) {
|
void WSRequestHandler::HandleSetHeartbeat(WSRequestHandler* req) {
|
||||||
@ -326,16 +326,16 @@ void WSRequestHandler::HandleSetHeartbeat(WSRequestHandler* req) {
|
|||||||
obs_data_release(response);
|
obs_data_release(response);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Switch to the specified scene.
|
* Switch to the specified scene.
|
||||||
*
|
*
|
||||||
* @param {String} `scene-name` Name of the scene to switch to.
|
* @param {String} `scene-name` Name of the scene to switch to.
|
||||||
*
|
*
|
||||||
* @api requests
|
* @api requests
|
||||||
* @name SetCurrentScene
|
* @name SetCurrentScene
|
||||||
* @category scenes
|
* @category scenes
|
||||||
* @since 0.3
|
* @since 0.3
|
||||||
*/
|
*/
|
||||||
void WSRequestHandler::HandleSetCurrentScene(WSRequestHandler* req) {
|
void WSRequestHandler::HandleSetCurrentScene(WSRequestHandler* req) {
|
||||||
if (!req->hasField("scene-name")) {
|
if (!req->hasField("scene-name")) {
|
||||||
req->SendErrorResponse("missing request parameters");
|
req->SendErrorResponse("missing request parameters");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user