IXWebSocket/ixwebsocket/IXWebSocketErrorInfo.h

28 lines
483 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
2020-04-14 19:47:10 +02:00
#include <cstdint>
2018-11-15 00:52:28 +01:00
#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;
2020-04-14 19:47:10 +02:00
WebSocketErrorInfo()
{
;
}
2018-11-15 00:52:28 +01:00
};
2019-05-30 17:46:50 +02:00
} // namespace ix