1
0
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:
JKorf
2018-09-07 12:12:56 +02:00
parent 43df283761
commit 9e8ccd6a0f
4 changed files with 12 additions and 99 deletions
@@ -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; }