cleanup, remove dead method

This commit is contained in:
Benjamin Sergeant
2019-03-21 10:06:59 -07:00
parent e6bd8cc8c4
commit 9ed961ec06
5 changed files with 45 additions and 8 deletions

View File

@ -287,12 +287,6 @@ namespace ix
}
}
void WebSocketTransport::appendToSendBuffer(const std::vector<uint8_t>& buffer)
{
std::lock_guard<std::mutex> lock(_txbufMutex);
_txbuf.insert(_txbuf.end(), buffer.begin(), buffer.end());
}
void WebSocketTransport::unmaskReceiveBuffer(const wsheader_type& ws)
{
if (ws.mask)

View File

@ -174,7 +174,6 @@ namespace ix
std::string::const_iterator end,
uint64_t message_size,
uint8_t masking_key[4]);
void appendToSendBuffer(const std::vector<uint8_t>& buffer);
unsigned getRandomUnsigned();
void unmaskReceiveBuffer(const wsheader_type& ws);