91 references to HubConnectionBuilder
ClientSample (3)
HubSample.cs (1)
34var connectionBuilder = new HubConnectionBuilder()
StreamingSample.cs (1)
27var connection = new HubConnectionBuilder()
UploadSample.cs (1)
30var connection = new HubConnectionBuilder()
JwtClientSample (1)
Program.cs (1)
31var hubConnection = new HubConnectionBuilder()
Microsoft.AspNetCore.SignalR.Client.FunctionalTests (40)
HubConnectionTests.cs (33)
43var hubConnectionBuilder = new HubConnectionBuilder(); 95var connectionBuilder = new HubConnectionBuilder() 134var connectionBuilder = new HubConnectionBuilder() 164var connectionBuilder = new HubConnectionBuilder() 1483var hubConnection = new HubConnectionBuilder() 1519var hubConnection = new HubConnectionBuilder() 1541var hubConnection = new HubConnectionBuilder() 1569var hubConnection = new HubConnectionBuilder() 1600var hubConnection = new HubConnectionBuilder() 1642var hubConnection = new HubConnectionBuilder() 1677var hubConnection = new HubConnectionBuilder() 1717var hubConnection = new HubConnectionBuilder() 1759var hubConnection = new HubConnectionBuilder() 1817var hubConnection = new HubConnectionBuilder() 1877var hubConnection = new HubConnectionBuilder() 1920var hubConnection = new HubConnectionBuilder() 1973var hubConnection = new HubConnectionBuilder() 2000var hubConnection = new HubConnectionBuilder() 2036var hubConnection = new HubConnectionBuilder() 2067var hubConnectionBuilder = new HubConnectionBuilder() 2098var hubConnection = new HubConnectionBuilder() 2206var connection = new HubConnectionBuilder() 2266var connectionBuilder = new HubConnectionBuilder() 2377var hubConnection = new HubConnectionBuilder() 2430var hubConnection = new HubConnectionBuilder() 2473var hubConnection = new HubConnectionBuilder() 2523var hubConnection = new HubConnectionBuilder() 2561var connectionBuilder = new HubConnectionBuilder() 2619var connectionBuilder = new HubConnectionBuilder() 2689var connectionBuilder = new HubConnectionBuilder() 2758var connectionBuilder = new HubConnectionBuilder() 2810var connectionBuilder = new HubConnectionBuilder() 2864var connectionBuilder = new HubConnectionBuilder()
HubConnectionTests.Tracing.cs (3)
58var connectionBuilder = new HubConnectionBuilder() 596var connectionBuilder = new HubConnectionBuilder() 686var connectionBuilder = new HubConnectionBuilder()
HubProtocolVersionTests.cs (4)
41var connectionBuilder = new HubConnectionBuilder() 73var connectionBuilder = new HubConnectionBuilder() 117var connectionBuilder = new HubConnectionBuilder() 172var connectionBuilder = new HubConnectionBuilder()
Microsoft.AspNetCore.SignalR.Client.Tests (39)
HubConnectionBuilderExtensionsTests.cs (8)
22var connectionBuilder = new HubConnectionBuilder(); 35var connectionBuilder = new HubConnectionBuilder(); 48var connectionBuilder = new HubConnectionBuilder(); 64var connectionBuilder = new HubConnectionBuilder(); 80var connectionBuilder = new HubConnectionBuilder(); 93var connectionBuilder = new HubConnectionBuilder(); 103var connectionBuilder = new HubConnectionBuilder(); 116var connectionBuilder = new HubConnectionBuilder();
HubConnectionBuilderTests.cs (9)
22var ex = Assert.Throws<InvalidOperationException>(() => new HubConnectionBuilder().Build()); 29var builder = new HubConnectionBuilder(); 39var serviceProvider = new HubConnectionBuilder().AddNewtonsoftJsonProtocol().Services.BuildServiceProvider(); 48var serviceProvider = new HubConnectionBuilder().AddNewtonsoftJsonProtocol(options => 63var builder = new HubConnectionBuilder(); 76var serviceProvider = new HubConnectionBuilder().AddMessagePackProtocol().Services.BuildServiceProvider(); 85var builder = new HubConnectionBuilder(); 98var builder = new HubConnectionBuilder(); 112var builder = new HubConnectionBuilder();
HubConnectionTests.ConnectionLifecycle.cs (3)
87var builder = new HubConnectionBuilder().WithUrl("http://example.com"); 120var builder = new HubConnectionBuilder().WithUrl("http://example.com"); 609var builder = new HubConnectionBuilder().WithUrl("http://example.com");
HubConnectionTests.cs (4)
63var builder = new HubConnectionBuilder().WithUrl("http://example.com"); 767var connection = new HubConnectionBuilder() 885var builder = new HubConnectionBuilder().WithUrl("http://example.com"); 917var builder = new HubConnectionBuilder().WithUrl("http://example.com");
HubConnectionTests.Helpers.cs (1)
21var builder = new HubConnectionBuilder().WithUrl("http://example.com");
HubConnectionTests.Reconnect.cs (12)
83var builder = new HubConnectionBuilder().WithLoggerFactory(LoggerFactory).WithUrl("http://example.com"); 197var builder = new HubConnectionBuilder().WithLoggerFactory(LoggerFactory).WithUrl("http://example.com"); 292var builder = new HubConnectionBuilder().WithLoggerFactory(LoggerFactory).WithUrl("http://example.com"); 387var builder = new HubConnectionBuilder().WithLoggerFactory(LoggerFactory).WithUrl("http://example.com"); 483var builder = new HubConnectionBuilder().WithLoggerFactory(LoggerFactory).WithUrl("http://example.com"); 567var builder = new HubConnectionBuilder().WithLoggerFactory(LoggerFactory).WithUrl("http://example.com"); 628var builder = new HubConnectionBuilder().WithLoggerFactory(LoggerFactory).WithUrl("http://example.com"); 683var builder = new HubConnectionBuilder().WithLoggerFactory(LoggerFactory).WithUrl("http://example.com"); 741var builder = new HubConnectionBuilder().WithLoggerFactory(LoggerFactory).WithUrl("http://example.com"); 848var builder = new HubConnectionBuilder().WithLoggerFactory(LoggerFactory).WithUrl("http://example.com"); 967var builder = new HubConnectionBuilder().WithLoggerFactory(LoggerFactory).WithUrl("http://example.com"); 1058var builder = new HubConnectionBuilder().WithLoggerFactory(LoggerFactory).WithUrl("http://example.com");
TestServerTests.cs (2)
38var connectionBuilder = new HubConnectionBuilder() 89var connectionBuilder = new HubConnectionBuilder()
Microsoft.AspNetCore.SignalR.Microbenchmarks (3)
HubConnectionReceiveBenchmark.cs (1)
62var hubConnectionBuilder = new HubConnectionBuilder();
HubConnectionSendBenchmark.cs (1)
45var hubConnectionBuilder = new HubConnectionBuilder();
HubConnectionStartBenchmark.cs (1)
40var hubConnectionBuilder = new HubConnectionBuilder();
Microsoft.AspNetCore.SignalR.StackExchangeRedis.Tests (1)
RedisEndToEnd.cs (1)
217var hubConnectionBuilder = new HubConnectionBuilder()
Microsoft.AspNetCore.SignalR.Tests (4)
EndToEndTests.cs (3)
547var connection = new HubConnectionBuilder() 612var connection = new HubConnectionBuilder() 660var connection = new HubConnectionBuilder()
NativeAotTests.cs (1)
31var hubConnectionBuilder = new HubConnectionBuilder()