MCPcopy Create free account
hub / github.com/acl-dev/acl / readPayload

Method readPayload

lib_acl_cpp/src/http/WebSocketServlet.cpp:124–131  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

122}
123
124int WebSocketServlet::readPayload(void* buf, size_t size)
125{
126 if (ws_ == NULL) {
127 logger_error("ws_ NULL");
128 return -1;
129 }
130 return ws_->read_frame_data(buf, size);
131}
132
133bool WebSocketServlet::sendBinary(const char *buffer, int len)
134{

Callers

nothing calls this directly

Calls 1

read_frame_dataMethod · 0.80

Tested by

no test coverage detected