1/*
2 * IXWebSocketSendInfo.h
3 * Author: Benjamin Sergeant
4 * Copyright (c) 2018 Machine Zone, Inc. All rights reserved.
5 */
6
7#pragma once
8
9namespace ix
10{
11 struct WebSocketSendInfo
12 {
13 bool success;
14 bool compressionError;
15 size_t payloadSize;
16 size_t wireSize;
17
18 WebSocketSendInfo(bool s = false, bool c = false, size_t p = 0, size_t w = 0)
19 : success(s)
20 , compressionError(c)
21 , payloadSize(p)
22 , wireSize(w)
23 {
24 ;
25 }
26 };
27} // namespace ix
28