4 writes to ServerTimeout
Microsoft.AspNetCore.SignalR.Client.Core (1)
HubConnection.cs (1)
248ServerTimeout = options?.Value.ServerTimeout ?? DefaultServerTimeout;
Microsoft.AspNetCore.SignalR.Client.Tests (3)
HubConnectionTests.cs (3)
356hubConnection.ServerTimeout = TimeSpan.FromMilliseconds(100); 382hubConnection.ServerTimeout = TimeSpan.FromMilliseconds(1); 414hubConnection.ServerTimeout = TimeSpan.FromMilliseconds(2000);
6 references to ServerTimeout
Microsoft.AspNetCore.SignalR.Client.Core (2)
HubConnection.cs (2)
2330Volatile.Write(ref _nextActivationServerTimeout, (DateTime.UtcNow + _hubConnection.ServerTimeout).Ticks); 2381$"Server timeout ({_hubConnection.ServerTimeout.TotalMilliseconds:0.00}ms) elapsed without receiving a message from the server.");
Microsoft.AspNetCore.SignalR.Client.Tests (4)
HubConnectionBuilderTests.cs (2)
91Assert.Equal(serverTimeout, connection.ServerTimeout); 119Assert.Equal(serverTimeout, connection.ServerTimeout);
HubConnectionTests.cs (2)
370Assert.Equal($"Server timeout ({hubConnection.ServerTimeout.TotalMilliseconds:0.00}ms) elapsed without receiving a message from the server.", exception.Message); 424Assert.Equal($"Server timeout ({hubConnection.ServerTimeout.TotalMilliseconds:0.00}ms) elapsed without receiving a message from the server.", exception.Message);