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