MCPcopy Create free account
hub / github.com/WarmUpTill/SceneSwitcher / SendWebsocketEvent

Function SendWebsocketEvent

plugins/base/utils/websocket-helpers.cpp:42–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40}
41
42void SendWebsocketEvent(const std::string &eventMsg)
43{
44 OBSDataAutoRelease data = obs_data_create();
45 obs_data_set_string(data, "message", eventMsg.c_str());
46 SendWebsocketVendorEvent(VendorEventMessage, data);
47}
48
49static void receiveWebsocketMessage(obs_data_t *request_data, obs_data_t *)
50{

Callers 1

PerformActionMethod · 0.85

Calls 2

SendWebsocketVendorEventFunction · 0.85
c_strMethod · 0.45

Tested by

no test coverage detected