1 instantiation of WebSocketConnectionContext
Microsoft.AspNetCore.Http.Connections.Client (1)
Internal\WebSocketsTransport.cs (1)
304
var context = new
WebSocketConnectionContext
(resolvedUrl, _httpConnectionOptions);
5 references to WebSocketConnectionContext
Microsoft.AspNetCore.Http.Connections.Client (4)
HttpConnectionOptions.cs (1)
71
public Func<
WebSocketConnectionContext
, CancellationToken, ValueTask<WebSocket>>? WebSocketFactory { get; set; }
Internal\WebSocketsTransport.cs (2)
90
private async ValueTask<WebSocket> DefaultWebSocketFactory(
WebSocketConnectionContext
context, CancellationToken cancellationToken)
304
var
context = new WebSocketConnectionContext(resolvedUrl, _httpConnectionOptions);
WebSocketConnectionContext.cs (1)
14
/// Initializes a new instance of the <see cref="
WebSocketConnectionContext
"/> class.
Microsoft.AspNetCore.SignalR.Client.Tests (1)
HttpConnectionFactoryTests.cs (1)
81
Func<
WebSocketConnectionContext
, CancellationToken, ValueTask<WebSocket>> webSocketFactory = (context, token) => ValueTask.FromResult<WebSocket>(null);