Add client support for websocket subprotocol. Look for the new addSubProtocol method for details
This commit is contained in:
@ -12,11 +12,14 @@ namespace ix
|
||||
{
|
||||
std::string uri;
|
||||
WebSocketHttpHeaders headers;
|
||||
std::string protocol;
|
||||
|
||||
WebSocketOpenInfo(const std::string& u = std::string(),
|
||||
const WebSocketHttpHeaders& h = WebSocketHttpHeaders())
|
||||
const WebSocketHttpHeaders& h = WebSocketHttpHeaders(),
|
||||
const std::string& p = std::string())
|
||||
: uri(u)
|
||||
, headers(h)
|
||||
, protocol(p)
|
||||
{
|
||||
;
|
||||
}
|
||||
|
Reference in New Issue
Block a user