2a90ad9e53
* fix crash on close
* Improve calculateRetryWaitMilliseconds (#63)
* improve calculateRetryWaitMilliseconds
* update comment
* cout -> spdlog
* fix crash on close
* uncomment test
* Revert "uncomment test"
This reverts commit 27df86ee8f
.
22 lines
384 B
C++
22 lines
384 B
C++
/*
|
|
* IXWebSocketErrorInfo.h
|
|
* Author: Benjamin Sergeant
|
|
* Copyright (c) 2017-2018 Machine Zone, Inc. All rights reserved.
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <string>
|
|
|
|
namespace ix
|
|
{
|
|
struct WebSocketErrorInfo
|
|
{
|
|
uint32_t retries = 0;
|
|
double wait_time = 0;
|
|
int http_status = 0;
|
|
std::string reason;
|
|
bool decompressionError = false;
|
|
};
|
|
}
|