You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
419 B

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