PingMessage.cs 560 B

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