28 lines
631 B
C++
28 lines
631 B
C++
/*
|
|
* IXWebSocketOpenInfo.h
|
|
* Author: Benjamin Sergeant
|
|
* Copyright (c) 2017-2019 Machine Zone, Inc. All rights reserved.
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
namespace ix
|
|
{
|
|
struct WebSocketOpenInfo
|
|
{
|
|
std::string uri;
|
|
WebSocketHttpHeaders headers;
|
|
std::string protocol;
|
|
|
|
WebSocketOpenInfo(const std::string& u = std::string(),
|
|
const WebSocketHttpHeaders& h = WebSocketHttpHeaders(),
|
|
const std::string& p = std::string())
|
|
: uri(u)
|
|
, headers(h)
|
|
, protocol(p)
|
|
{
|
|
;
|
|
}
|
|
};
|
|
} // namespace ix
|