1 implementation of IConnectionFactory
Microsoft.AspNetCore.Http.Connections.Client (1)
HttpConnectionFactory.cs (1)
18public class HttpConnectionFactory : IConnectionFactory
9 references to IConnectionFactory
Microsoft.AspNetCore.SignalR.Client (1)
HubConnectionBuilderHttpExtensions.cs (1)
164hubConnectionBuilder.Services.AddSingleton<IConnectionFactory, HttpConnectionFactory>();
Microsoft.AspNetCore.SignalR.Client.Core (8)
HubConnection.cs (5)
81private readonly IConnectionFactory _connectionFactory; 208/// <param name="connectionFactory">The <see cref="IConnectionFactory" /> used to create a connection each time <see cref="StartAsync" /> is called.</param> 220public HubConnection(IConnectionFactory connectionFactory, IHubProtocol protocol, EndPoint endPoint, IServiceProvider serviceProvider, ILoggerFactory loggerFactory, IRetryPolicy reconnectPolicy) 229/// <param name="connectionFactory">The <see cref="IConnectionFactory" /> used to create a connection each time <see cref="StartAsync" /> is called.</param> 237public HubConnection(IConnectionFactory connectionFactory,
HubConnectionBuilder.cs (3)
49var connectionFactory = serviceProvider.GetService<IConnectionFactory>() ?? 50throw new InvalidOperationException($"Cannot create {nameof(HubConnection)} instance. An {nameof(IConnectionFactory)} was not configured.");