Searched refs:ws_buffer (Results 1 – 2 of 2) sorted by relevance
45 void WebSocketHandler::WriteWsBuffer(WebSocketHandler::WsBuffer& ws_buffer) { in WriteWsBuffer() argument46 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()
54 void WriteWsBuffer(WsBuffer& ws_buffer);