123456789101112131415161718192021222324252627282930313233343536373839 |
- #if !BESTHTTP_DISABLE_SOCKETIO
- using System.Collections.Generic;
- namespace BestHTTP.SocketIO3
- {
- /// <summary>
- /// Helper class to parse and hold handshake information.
- /// </summary>
- [PlatformSupport.IL2CPP.Preserve]
- public sealed class HandshakeData
- {
- /// <summary>
- /// Session ID of this connection.
- /// </summary>
- [PlatformSupport.IL2CPP.Preserve]
- public string Sid { get; private set; }
- /// <summary>
- /// List of possible upgrades.
- /// </summary>
- [PlatformSupport.IL2CPP.Preserve]
- public List<string> Upgrades { get; private set; }
- /// <summary>
- /// What interval we have to set a ping message.
- /// </summary>
- [PlatformSupport.IL2CPP.Preserve]
- public int PingInterval { get; private set; }
- /// <summary>
- /// What time have to pass without an answer to our ping request when we can consider the connection disconnected.
- /// </summary>
- [PlatformSupport.IL2CPP.Preserve]
- public int PingTimeout { get; private set; }
- }
- }
- #endif
|