VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Functions
webLVCHelpers.h File Reference

Go to the source code of this file.

Functions

bool DtWebLvcSendJson (const oatpp::websocket::WebSocket &conn, DtWebLvcClientSession &session, const Json::Value &msg)
 

Function Documentation

bool DtWebLvcSendJson ( const oatpp::websocket::WebSocket &  conn,
DtWebLvcClientSession &  session,
const Json::Value &  msg 
)
inline

Serialize msg as compact JSON and deliver it to the WebSocket connection. Increments session.messagesSent and session.bytesSent under session.mutex. Caller must NOT hold session.mutex.

References DtWebLvcClientSession::addLog(), DtWebLvcClientSession::bytesSent, DtWebLvcClientSession::connected, DtWebLvcClientSession::messagesSent, and DtWebLvcClientSession::mutex.


Document ID: Generated on Thu Oct 15 21:27:02 EDT 2026 from SVN revision 296421
Copyright © 2005-2026 MAK Technologies. All Rights Reserved (www.mak.com)