remove param remote for public close method, only left in internalClose

This commit is contained in:
Alexandre Konieczny 2019-04-23 15:53:45 +02:00
parent 2eb3085d30
commit 503826a762
2 changed files with 2 additions and 3 deletions

View File

@ -876,7 +876,7 @@ namespace ix
}
}
void WebSocketTransport::close(uint16_t code, const std::string& reason, size_t closeWireSize, bool remote)
void WebSocketTransport::close(uint16_t code, const std::string& reason, size_t closeWireSize)
{
_requestInitCancellation = true;

View File

@ -87,8 +87,7 @@ namespace ix
void close(uint16_t code = 1000,
const std::string& reason = "Normal closure",
size_t closeWireSize = 0,
bool remote = false);
size_t closeWireSize = 0);
ReadyStateValues getReadyState() const;
void setReadyState(ReadyStateValues readyStateValue);