make closeWireSize a default parameter of WebSocketTransport::close

This commit is contained in:
Benjamin Sergeant
2019-04-16 09:55:12 -07:00
parent 935e6791a3
commit bcf2fc1812
2 changed files with 5 additions and 8 deletions

View File

@ -775,11 +775,6 @@ namespace ix
_lastSendTimePoint = std::chrono::steady_clock::now();
}
void WebSocketTransport::close(uint16_t code, const std::string& reason)
{
close(code, reason, 0);
}
void WebSocketTransport::close(uint16_t code, const std::string& reason, size_t closeWireSize)
{
_requestInitCancellation = true;