mirror of
https://github.com/JKorf/CryptoExchange.Net.git
synced 2026-08-19 04:13:02 +00:00
Added state getter for socket
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
using System;
|
||||
using System.Security.Authentication;
|
||||
using System.Threading.Tasks;
|
||||
using WebSocket4Net;
|
||||
|
||||
namespace CryptoExchange.Net.Interfaces
|
||||
{
|
||||
@@ -13,6 +14,7 @@ namespace CryptoExchange.Net.Interfaces
|
||||
event Action<Exception> OnError;
|
||||
event Action OnOpen;
|
||||
|
||||
WebSocketState SocketState { get; }
|
||||
bool IsClosed { get; }
|
||||
bool IsOpen { get; }
|
||||
bool PingConnection { get; set; }
|
||||
|
||||
Reference in New Issue
Block a user