Home
last modified time | relevance | path

Searched refs:ws_buffer (Results 1 – 2 of 2) sorted by relevance

/device/google/cuttlefish/host/libs/websocket/
Dwebsocket_handler.cpp45 void WebSocketHandler::WriteWsBuffer(WebSocketHandler::WsBuffer& ws_buffer) { in WriteWsBuffer() argument
46 auto len = ws_buffer.data.size() - LWS_PRE; in WriteWsBuffer()
48 ws_buffer.data.resize(ws_buffer.data.size() + LWS_PRE); in WriteWsBuffer()
50 ws_buffer.binary ? LWS_WRITE_BINARY : LWS_WRITE_TEXT, true, true); in WriteWsBuffer()
51 auto res = lws_write(wsi_, &ws_buffer.data[LWS_PRE], len, in WriteWsBuffer()
Dwebsocket_handler.h54 void WriteWsBuffer(WsBuffer& ws_buffer);