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.

27 lines
557 B

4 months ago
  1. /*
  2. * IXWebSocketSendInfo.h
  3. * Author: Benjamin Sergeant
  4. * Copyright (c) 2018 Machine Zone, Inc. All rights reserved.
  5. */
  6. #pragma once
  7. namespace ix
  8. {
  9. struct WebSocketSendInfo
  10. {
  11. bool success;
  12. bool compressionError;
  13. size_t payloadSize;
  14. size_t wireSize;
  15. WebSocketSendInfo(bool s = false, bool c = false, size_t p = 0, size_t w = 0)
  16. : success(s)
  17. , compressionError(c)
  18. , payloadSize(p)
  19. , wireSize(w)
  20. {
  21. ;
  22. }
  23. };
  24. } // namespace ix