4 writes to ServerTimeout
Microsoft.AspNetCore.SignalR.Client.Core (1)
HubConnection.cs (1)
248
ServerTimeout
= options?.Value.ServerTimeout ?? DefaultServerTimeout;
Microsoft.AspNetCore.SignalR.Client.Tests (3)
HubConnectionTests.cs (3)
356
hubConnection.
ServerTimeout
= TimeSpan.FromMilliseconds(100);
382
hubConnection.
ServerTimeout
= TimeSpan.FromMilliseconds(1);
414
hubConnection.
ServerTimeout
= TimeSpan.FromMilliseconds(2000);
6 references to ServerTimeout
Microsoft.AspNetCore.SignalR.Client.Core (2)
HubConnection.cs (2)
2330
Volatile.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)
91
Assert.Equal(serverTimeout, connection.
ServerTimeout
);
119
Assert.Equal(serverTimeout, connection.
ServerTimeout
);
HubConnectionTests.cs (2)
370
Assert.Equal($"Server timeout ({hubConnection.
ServerTimeout
.TotalMilliseconds:0.00}ms) elapsed without receiving a message from the server.", exception.Message);
424
Assert.Equal($"Server timeout ({hubConnection.
ServerTimeout
.TotalMilliseconds:0.00}ms) elapsed without receiving a message from the server.", exception.Message);