94 references to CreateHubConnection
Microsoft.AspNetCore.SignalR.Client.Tests (94)
HubConnectionTests.ConnectionLifecycle.cs (18)
41
await AsyncUsing(
CreateHubConnection
(testConnection), async connection =>
56
await AsyncUsing(
CreateHubConnection
(testConnection), async connection =>
172
await AsyncUsing(
CreateHubConnection
(testConnection, loggerFactory: LoggerFactory), async connection =>
197
await AsyncUsing(
CreateHubConnection
(testConnection), async connection =>
212
await AsyncUsing(
CreateHubConnection
(testConnection), async connection =>
244
await AsyncUsing(
CreateHubConnection
(testConnection), async connection =>
267
await AsyncUsing(
CreateHubConnection
(testConnection), async connection =>
295
await AsyncUsing(
CreateHubConnection
(testConnection), async connection =>
309
await AsyncUsing(
CreateHubConnection
(testConnection), async connection =>
320
await AsyncUsing(
CreateHubConnection
(testConnection), async connection =>
343
await AsyncUsing(
CreateHubConnection
(testConnection), async connection =>
362
await AsyncUsing(
CreateHubConnection
(testConnection), async connection =>
387
await AsyncUsing(
CreateHubConnection
(testConnection), async connection =>
426
await AsyncUsing(
CreateHubConnection
(testConnection), async connection =>
463
await AsyncUsing(
CreateHubConnection
(testConnection), async connection =>
511
var hubConnection =
CreateHubConnection
(connection, loggerFactory: LoggerFactory);
540
var hubConnection =
CreateHubConnection
(connection, loggerFactory: LoggerFactory);
582
var hubConnection =
CreateHubConnection
(connection, loggerFactory: LoggerFactory);
HubConnectionTests.cs (28)
36
var hubConnection =
CreateHubConnection
(new TestConnection(), protocol: MockHubProtocol.Throw(exception), LoggerFactory);
51
var hubConnection =
CreateHubConnection
(new TestConnection(), protocol: MockHubProtocol.Throw(exception), LoggerFactory);
86
var hubConnection =
CreateHubConnection
(connection, loggerFactory: LoggerFactory);
106
var hubConnection =
CreateHubConnection
(connection, loggerFactory: LoggerFactory);
131
var hubConnection =
CreateHubConnection
(new TestConnection(), loggerFactory: LoggerFactory);
153
var hubConnection =
CreateHubConnection
(connection, protocol: Mock.Of<IHubProtocol>(), LoggerFactory);
171
var hubConnection =
CreateHubConnection
(new TestConnection(), loggerFactory: LoggerFactory);
188
var hubConnection =
CreateHubConnection
(connection, loggerFactory: LoggerFactory);
207
var hubConnection =
CreateHubConnection
(connection, loggerFactory: LoggerFactory);
227
var hubConnection =
CreateHubConnection
(connection, loggerFactory: LoggerFactory);
249
var hubConnection =
CreateHubConnection
(connection, loggerFactory: LoggerFactory);
268
var hubConnection =
CreateHubConnection
(connection, loggerFactory: LoggerFactory);
287
var hubConnection =
CreateHubConnection
(connection, loggerFactory: LoggerFactory);
317
var hubConnection =
CreateHubConnection
(connection, loggerFactory: LoggerFactory);
355
var hubConnection =
CreateHubConnection
(new TestConnection(), loggerFactory: LoggerFactory);
381
var hubConnection =
CreateHubConnection
(testConnection, loggerFactory: LoggerFactory);
413
var hubConnection =
CreateHubConnection
(new TestConnection(), loggerFactory: LoggerFactory);
435
var hubConnection =
CreateHubConnection
(connection, loggerFactory: LoggerFactory);
475
var hubConnection =
CreateHubConnection
(connection, loggerFactory: LoggerFactory);
506
var hubConnection =
CreateHubConnection
(connection, loggerFactory: LoggerFactory);
550
var hubConnection =
CreateHubConnection
(connection, loggerFactory: LoggerFactory);
582
var hubConnection =
CreateHubConnection
(connection, loggerFactory: LoggerFactory);
608
var hubConnection =
CreateHubConnection
(connection, loggerFactory: LoggerFactory);
642
var hubConnection =
CreateHubConnection
(connection, loggerFactory: LoggerFactory);
674
var hubConnection =
CreateHubConnection
(connection, loggerFactory: LoggerFactory);
707
var hubConnection =
CreateHubConnection
(connection, loggerFactory: LoggerFactory);
753
await using var hubConnection =
CreateHubConnection
(connection, loggerFactory: LoggerFactory);
812
var hubConnection =
CreateHubConnection
(connection, loggerFactory: LoggerFactory);
HubConnectionTests.Extensions.cs (6)
217
var hubConnection =
CreateHubConnection
(connection);
245
var hubConnection =
CreateHubConnection
(connection);
283
var hubConnection =
CreateHubConnection
(connection);
325
var hubConnection =
CreateHubConnection
(connection);
363
var hubConnection =
CreateHubConnection
(connection);
677
var hubConnection =
CreateHubConnection
(connection);
HubConnectionTests.Protocol.cs (36)
21
var hubConnection =
CreateHubConnection
(connection);
46
var hubConnection =
CreateHubConnection
(connection);
72
var hubConnection =
CreateHubConnection
(connection);
102
var hubConnection =
CreateHubConnection
(connection);
121
var hubConnection =
CreateHubConnection
(connection);
148
var hubConnection =
CreateHubConnection
(connection);
177
var hubConnection =
CreateHubConnection
(connection);
204
var hubConnection =
CreateHubConnection
(connection);
231
var hubConnection =
CreateHubConnection
(connection);
253
var hubConnection =
CreateHubConnection
(connection);
275
var hubConnection =
CreateHubConnection
(connection);
297
var hubConnection =
CreateHubConnection
(connection);
320
var hubConnection =
CreateHubConnection
(connection);
343
var hubConnection =
CreateHubConnection
(connection);
366
var hubConnection =
CreateHubConnection
(connection);
389
var hubConnection =
CreateHubConnection
(connection);
418
var hubConnection =
CreateHubConnection
(connection, loggerFactory: LoggerFactory);
448
var hubConnection =
CreateHubConnection
(connection);
472
var hubConnection =
CreateHubConnection
(connection);
504
var hubConnection =
CreateHubConnection
(connection);
538
var hubConnection =
CreateHubConnection
(connection);
567
var hubConnection =
CreateHubConnection
(connection);
596
var hubConnection =
CreateHubConnection
(connection);
623
var hubConnection =
CreateHubConnection
(connection);
659
var hubConnection =
CreateHubConnection
(connection);
685
var hubConnection =
CreateHubConnection
(connection);
714
var hubConnection =
CreateHubConnection
(connection);
738
var hubConnection =
CreateHubConnection
(connection);
759
var hubConnection =
CreateHubConnection
(connection);
786
var hubConnection =
CreateHubConnection
(connection);
813
var hubConnection =
CreateHubConnection
(connection);
842
var hubConnection =
CreateHubConnection
(connection);
864
var hubConnection =
CreateHubConnection
(connection);
889
var hubConnection =
CreateHubConnection
(connection);
914
var hubConnection =
CreateHubConnection
(connection);
939
var hubConnection =
CreateHubConnection
(connection);
HubConnectionTests.Reconnect.cs (1)
43
await using var hubConnection =
CreateHubConnection
(testConnection, loggerFactory: LoggerFactory);
HubConnectionTests.Tracing.cs (5)
36
var hubConnection =
CreateHubConnection
(connection, clientActivitySource: clientSourceContainer);
73
var hubConnection =
CreateHubConnection
(connection, clientActivitySource: clientSourceContainer);
111
var hubConnection =
CreateHubConnection
(connection, clientActivitySource: clientSourceContainer);
150
var hubConnection =
CreateHubConnection
(connection, clientActivitySource: clientSourceContainer);
189
var hubConnection =
CreateHubConnection
(connection, clientActivitySource: clientSourceContainer);