4 writes to KeepAliveTimeout
Interop.FunctionalTests (1)
Http2WebSocketInteropTests.cs (1)
111KeepAliveTimeout = TimeSpan.FromMilliseconds(1),
Microsoft.AspNetCore.WebSockets.Tests (3)
AddWebSocketsTests.cs (2)
20o.KeepAliveTimeout = TimeSpan.FromSeconds(1234); 36Assert.Throws<ArgumentOutOfRangeException>(() => new WebSocketOptions() { KeepAliveTimeout = TimeSpan.FromMicroseconds(-1) });
WebSocketMiddlewareTests.cs (1)
822o.KeepAliveTimeout = TimeSpan.FromMilliseconds(1);
3 references to KeepAliveTimeout
Microsoft.AspNetCore.WebSockets (2)
WebSocketMiddleware.cs (1)
144TimeSpan 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)
28Assert.Equal(TimeSpan.FromSeconds(1234), socketOptions.KeepAliveTimeout);