4 writes to KeepAliveTimeout
Interop.FunctionalTests (1)
Http2WebSocketInteropTests.cs (1)
111
KeepAliveTimeout
= TimeSpan.FromMilliseconds(1),
Microsoft.AspNetCore.WebSockets.Tests (3)
AddWebSocketsTests.cs (2)
20
o.
KeepAliveTimeout
= TimeSpan.FromSeconds(1234);
36
Assert.Throws<ArgumentOutOfRangeException>(() => new WebSocketOptions() {
KeepAliveTimeout
= TimeSpan.FromMicroseconds(-1) });
WebSocketMiddlewareTests.cs (1)
822
o.
KeepAliveTimeout
= TimeSpan.FromMilliseconds(1);
3 references to KeepAliveTimeout
Microsoft.AspNetCore.WebSockets (2)
WebSocketMiddleware.cs (1)
144
TimeSpan keepAliveTimeout = _options.
KeepAliveTimeout
;
WebSocketOptions.cs (1)
27
/// May be either a Ping or a Pong frame, depending on if <see cref="
KeepAliveTimeout
" /> is set.
Microsoft.AspNetCore.WebSockets.Tests (1)
AddWebSocketsTests.cs (1)
28
Assert.Equal(TimeSpan.FromSeconds(1234), socketOptions.
KeepAliveTimeout
);