93 references to CreateHubConnection
Microsoft.AspNetCore.SignalR.Client.Tests (93)
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 (35)
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);
416
var hubConnection =
CreateHubConnection
(connection);
440
var hubConnection =
CreateHubConnection
(connection);
472
var hubConnection =
CreateHubConnection
(connection);
506
var hubConnection =
CreateHubConnection
(connection);
535
var hubConnection =
CreateHubConnection
(connection);
564
var hubConnection =
CreateHubConnection
(connection);
591
var hubConnection =
CreateHubConnection
(connection);
627
var hubConnection =
CreateHubConnection
(connection);
653
var hubConnection =
CreateHubConnection
(connection);
682
var hubConnection =
CreateHubConnection
(connection);
706
var hubConnection =
CreateHubConnection
(connection);
727
var hubConnection =
CreateHubConnection
(connection);
754
var hubConnection =
CreateHubConnection
(connection);
781
var hubConnection =
CreateHubConnection
(connection);
810
var hubConnection =
CreateHubConnection
(connection);
832
var hubConnection =
CreateHubConnection
(connection);
857
var hubConnection =
CreateHubConnection
(connection);
882
var hubConnection =
CreateHubConnection
(connection);
907
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);