remove param remote for public close method, only left in internalClose
This commit is contained in:
parent
2eb3085d30
commit
503826a762
@ -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;
|
_requestInitCancellation = true;
|
||||||
|
|
||||||
|
@ -87,8 +87,7 @@ namespace ix
|
|||||||
|
|
||||||
void close(uint16_t code = 1000,
|
void close(uint16_t code = 1000,
|
||||||
const std::string& reason = "Normal closure",
|
const std::string& reason = "Normal closure",
|
||||||
size_t closeWireSize = 0,
|
size_t closeWireSize = 0);
|
||||||
bool remote = false);
|
|
||||||
|
|
||||||
ReadyStateValues getReadyState() const;
|
ReadyStateValues getReadyState() const;
|
||||||
void setReadyState(ReadyStateValues readyStateValue);
|
void setReadyState(ReadyStateValues readyStateValue);
|
||||||
|
Loading…
Reference in New Issue
Block a user