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>
|
|
|
|
|
2019-02-21 03:59:07 +01:00
|
|
|
namespace ix
|
2018-11-15 00:52:28 +01:00
|
|
|
{
|
|
|
|
struct WebSocketErrorInfo
|
|
|
|
{
|
2019-05-11 18:51:26 +02:00
|
|
|
uint32_t retries = 0;
|
|
|
|
double wait_time = 0;
|
|
|
|
int http_status = 0;
|
2018-11-15 00:52:28 +01:00
|
|
|
std::string reason;
|
2019-05-11 18:51:26 +02:00
|
|
|
bool decompressionError = false;
|
2018-11-15 00:52:28 +01:00
|
|
|
};
|
2019-05-30 17:46:50 +02:00
|
|
|
} // namespace ix
|