PongMessage.cs 622 B

1234567891011121314151617181920212223242526272829
  1. using SocketIOClient.Transport;
  2. using System;
  3. using System.Collections.Generic;
  4. namespace SocketIOClient.Messages
  5. {
  6. public class PongMessage : IMessage
  7. {
  8. public MessageType Type => MessageType.Pong;
  9. public List<byte[]> OutgoingBytes { get; set; }
  10. public List<byte[]> IncomingBytes { get; set; }
  11. public int BinaryCount { get; }
  12. public int Eio { get; set; }
  13. public TransportProtocol Protocol { get; set; }
  14. public TimeSpan Duration { get; set; }
  15. public void Read(string msg)
  16. {
  17. }
  18. public string Write() => "3";
  19. }
  20. }