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.
39 lines
1.1 KiB
39 lines
1.1 KiB
#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
|
|
|