We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7b3c204 commit 98499e9Copy full SHA for 98499e9
src/SocketIOClient/SocketIO.cs
@@ -93,6 +93,7 @@ public IWebSocketClient Socket
93
value.OnTextReceived = OnTextReceived;
94
value.OnBinaryReceived = OnBinaryReceived;
95
value.OnClosed = OnClosed;
96
+ value.ConnectionTimeout = Options.ConnectionTimeout;
97
}
98
99
src/SocketIOClient/WebSocketClient/IWebSocketClient.cs
@@ -6,6 +6,7 @@ namespace SocketIOClient.WebSocketClient
6
{
7
public interface IWebSocketClient : IDisposable
8
9
+ TimeSpan ConnectionTimeout { get; set; }
10
Task ConnectAsync(Uri uri);
11
Task SendMessageAsync(string text);
12
Task SendMessageAsync(string text, CancellationToken cancellationToken);
0 commit comments