add boolean and add missing protocol error close constant (#41)
This commit is contained in:
committed by
Benjamin Sergeant
parent
0caf875399
commit
28210ee31d
@ -61,11 +61,14 @@ namespace ix
|
||||
{
|
||||
uint16_t code;
|
||||
std::string reason;
|
||||
bool remote;
|
||||
|
||||
WebSocketCloseInfo(uint16_t c = 0,
|
||||
const std::string& r = std::string())
|
||||
const std::string& r = std::string(),
|
||||
bool rem = false)
|
||||
: code(c)
|
||||
, reason(r)
|
||||
, remote(rem)
|
||||
{
|
||||
;
|
||||
}
|
||||
|
Reference in New Issue
Block a user