1/*
2 * IXWebSocketErrorInfo.h
3 * Author: Benjamin Sergeant
4 * Copyright (c) 2017-2018 Machine Zone, Inc. All rights reserved.
5 */
6
7#pragma once
8
9#include <cstdint>
10#include <string>
11
12namespace ix
13{
14 struct WebSocketErrorInfo
15 {
16 uint32_t retries = 0;
17 double wait_time = 0;
18 int http_status = 0;
19 std::string reason;
20 bool decompressionError = false;
21 };
22} // namespace ix
23