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

Method sendBinary

lib_acl_cpp/src/http/WebSocketServlet.cpp:133–139  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

131}
132
133bool WebSocketServlet::sendBinary(const char *buffer, int len)
134{
135 ws_->set_frame_opcode(FRAME_BINARY);
136 ws_->set_frame_fin(true);
137 ws_->set_frame_payload_len(len);
138 return ws_->send_frame_data(buffer, len);
139}
140
141bool WebSocketServlet::sendText(const char *buffer)
142{

Callers

nothing calls this directly

Calls 1

send_frame_dataMethod · 0.80

Tested by

no test coverage detected