1/*
2 * IXWebSocketOpenInfo.h
3 * Author: Benjamin Sergeant
4 * Copyright (c) 2017-2019 Machine Zone, Inc. All rights reserved.
5 */
6
7#pragma once
8
9#include "IXWebSocketHttpHeaders.h"
10#include <cstdint>
11#include <string>
12
13namespace ix
14{
15 struct WebSocketOpenInfo
16 {
17 std::string uri;
18 WebSocketHttpHeaders headers;
19 std::string protocol;
20
21 WebSocketOpenInfo(const std::string& u = std::string(),
22 const WebSocketHttpHeaders& h = WebSocketHttpHeaders(),
23 const std::string& p = std::string())
24 : uri(u)
25 , headers(h)
26 , protocol(p)
27 {
28 ;
29 }
30 };
31} // namespace ix
32