IMessage.cs 571 B

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