merge and remove useless comments
This commit is contained in:
commit
37c639387f
@ -560,7 +560,6 @@ namespace ix
|
|||||||
|
|
||||||
bool remote = true;
|
bool remote = true;
|
||||||
|
|
||||||
//std::cout << this << " CLOSE FROM REMOTE" << code << " / " << reason << std::endl;
|
|
||||||
internalClose(code, reason, _rxbuf.size(), remote);
|
internalClose(code, reason, _rxbuf.size(), remote);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
@ -877,7 +876,7 @@ namespace ix
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void WebSocketTransport::close(uint16_t code, const std::string& reason, size_t closeWireSize)
|
void WebSocketTransport::close(uint16_t code, const std::string& reason, size_t closeWireSize, bool remote)
|
||||||
{
|
{
|
||||||
_requestInitCancellation = true;
|
_requestInitCancellation = true;
|
||||||
|
|
||||||
|
@ -87,7 +87,8 @@ 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