IXWebSocket/ixwebsocket/IXWebSocketErrorInfo.h

22 lines
400 B
C
Raw Normal View History

2018-11-15 00:52:28 +01:00
/*
* IXWebSocketErrorInfo.h
* Author: Benjamin Sergeant
* Copyright (c) 2017-2018 Machine Zone, Inc. All rights reserved.
*/
#pragma once
#include <string>
namespace ix
2018-11-15 00:52:28 +01:00
{
struct WebSocketErrorInfo
{
uint32_t retries = 0;
double wait_time = 0;
int http_status = 0;
2018-11-15 00:52:28 +01:00
std::string reason;
bool decompressionError = false;
2018-11-15 00:52:28 +01:00
};
2019-05-30 17:46:50 +02:00
} // namespace ix