1 implementation of IHubConnectionBuilder
Microsoft.AspNetCore.SignalR.Client.Core (1)
HubConnectionBuilder.cs (1)
17public class HubConnectionBuilder : IHubConnectionBuilder
113 references to IHubConnectionBuilder
ClientSample (5)
HubSample.cs (1)
34var connectionBuilder = new HubConnectionBuilder()
Tcp\TcpHubConnectionBuilderExtensions.cs (4)
18public static IHubConnectionBuilder WithEndPoint(this IHubConnectionBuilder builder, Uri uri) 38public static IHubConnectionBuilder WithEndPoint(this IHubConnectionBuilder builder, EndPoint endPoint)
Microsoft.AspNetCore.SignalR.Client (39)
HubConnectionBuilderHttpExtensions.cs (39)
18/// Extension methods for <see cref="IHubConnectionBuilder"/>. 25/// <param name="hubConnectionBuilder">The <see cref="IHubConnectionBuilder" /> to configure.</param> 26/// <returns>The same instance of the <see cref="IHubConnectionBuilder"/> for chaining.</returns> 27public static IHubConnectionBuilder WithStatefulReconnect(this IHubConnectionBuilder hubConnectionBuilder) 37/// <param name="hubConnectionBuilder">The <see cref="IHubConnectionBuilder" /> to configure.</param> 39/// <returns>The same instance of the <see cref="IHubConnectionBuilder"/> for chaining.</returns> 40public static IHubConnectionBuilder WithUrl(this IHubConnectionBuilder hubConnectionBuilder, [StringSyntax(StringSyntaxAttribute.Uri)] string url) 49/// <param name="hubConnectionBuilder">The <see cref="IHubConnectionBuilder" /> to configure.</param> 52/// <returns>The same instance of the <see cref="IHubConnectionBuilder"/> for chaining.</returns> 53public static IHubConnectionBuilder WithUrl(this IHubConnectionBuilder hubConnectionBuilder, [StringSyntax(StringSyntaxAttribute.Uri)] string url, Action<HttpConnectionOptions> configureHttpConnection) 62/// <param name="hubConnectionBuilder">The <see cref="IHubConnectionBuilder" /> to configure.</param> 65/// <returns>The same instance of the <see cref="IHubConnectionBuilder"/> for chaining.</returns> 66public static IHubConnectionBuilder WithUrl(this IHubConnectionBuilder hubConnectionBuilder, [StringSyntax(StringSyntaxAttribute.Uri)] string url, HttpTransportType transports) 75/// <param name="hubConnectionBuilder">The <see cref="IHubConnectionBuilder" /> to configure.</param> 79/// <returns>The same instance of the <see cref="IHubConnectionBuilder"/> for chaining.</returns> 80public static IHubConnectionBuilder WithUrl(this IHubConnectionBuilder hubConnectionBuilder, [StringSyntax(StringSyntaxAttribute.Uri)] string url, HttpTransportType transports, Action<HttpConnectionOptions> configureHttpConnection) 89/// <param name="hubConnectionBuilder">The <see cref="IHubConnectionBuilder" /> to configure.</param> 91/// <returns>The same instance of the <see cref="IHubConnectionBuilder"/> for chaining.</returns> 92public static IHubConnectionBuilder WithUrl(this IHubConnectionBuilder hubConnectionBuilder, Uri url) 101/// <param name="hubConnectionBuilder">The <see cref="IHubConnectionBuilder" /> to configure.</param> 104/// <returns>The same instance of the <see cref="IHubConnectionBuilder"/> for chaining.</returns> 105public static IHubConnectionBuilder WithUrl(this IHubConnectionBuilder hubConnectionBuilder, Uri url, Action<HttpConnectionOptions> configureHttpConnection) 114/// <param name="hubConnectionBuilder">The <see cref="IHubConnectionBuilder" /> to configure.</param> 117/// <returns>The same instance of the <see cref="IHubConnectionBuilder"/> for chaining.</returns> 118public static IHubConnectionBuilder WithUrl(this IHubConnectionBuilder hubConnectionBuilder, Uri url, HttpTransportType transports) 127/// <param name="hubConnectionBuilder">The <see cref="IHubConnectionBuilder" /> to configure.</param> 131/// <returns>The same instance of the <see cref="IHubConnectionBuilder"/> for chaining.</returns> 132public static IHubConnectionBuilder WithUrl(this IHubConnectionBuilder hubConnectionBuilder, Uri url, HttpTransportType transports, Action<HttpConnectionOptions> configureHttpConnection) 138private static IHubConnectionBuilder WithUrlCore(this IHubConnectionBuilder hubConnectionBuilder, Uri url, HttpTransportType? transports, Action<HttpConnectionOptions>? configureHttpConnection)
Microsoft.AspNetCore.SignalR.Client.Core (26)
HubConnectionBuilderExtensions.cs (25)
12/// Extension methods for <see cref="IHubConnectionBuilder"/>. 19/// <param name="hubConnectionBuilder">The <see cref="IHubConnectionBuilder" /> to configure.</param> 21/// <returns>The same instance of the <see cref="IHubConnectionBuilder"/> for chaining.</returns> 22public static IHubConnectionBuilder ConfigureLogging(this IHubConnectionBuilder hubConnectionBuilder, Action<ILoggingBuilder> configureLogging) 32/// <param name="hubConnectionBuilder">The <see cref="IHubConnectionBuilder" /> to configure.</param> 33/// <returns>The same instance of the <see cref="IHubConnectionBuilder"/> for chaining.</returns> 34public static IHubConnectionBuilder WithAutomaticReconnect(this IHubConnectionBuilder hubConnectionBuilder) 43/// <param name="hubConnectionBuilder">The <see cref="IHubConnectionBuilder" /> to configure.</param> 48/// <returns>The same instance of the <see cref="IHubConnectionBuilder"/> for chaining.</returns> 49public static IHubConnectionBuilder WithAutomaticReconnect(this IHubConnectionBuilder hubConnectionBuilder, TimeSpan[] reconnectDelays) 58/// <param name="hubConnectionBuilder">The <see cref="IHubConnectionBuilder" /> to configure.</param> 60/// <returns>The same instance of the <see cref="IHubConnectionBuilder"/> for chaining.</returns> 61public static IHubConnectionBuilder WithAutomaticReconnect(this IHubConnectionBuilder hubConnectionBuilder, IRetryPolicy retryPolicy) 70/// <param name="hubConnectionBuilder">The <see cref="IHubConnectionBuilder" /> to configure.</param> 72/// <returns>The same instance of the <see cref="IHubConnectionBuilder"/> for chaining.</returns> 73public static IHubConnectionBuilder WithServerTimeout(this IHubConnectionBuilder hubConnectionBuilder, TimeSpan timeout) 82/// <param name="hubConnectionBuilder">The <see cref="IHubConnectionBuilder" /> to configure.</param> 84/// <returns>The same instance of the <see cref="IHubConnectionBuilder"/> for chaining.</returns> 85public static IHubConnectionBuilder WithKeepAliveInterval(this IHubConnectionBuilder hubConnectionBuilder, TimeSpan interval)
IRetryPolicy.cs (1)
14/// If passed to <see cref="HubConnectionBuilderExtensions.WithAutomaticReconnect(IHubConnectionBuilder, IRetryPolicy)"/>,
Microsoft.AspNetCore.SignalR.Client.FunctionalTests (18)
HubConnectionTests.cs (11)
95var connectionBuilder = new HubConnectionBuilder() 134var connectionBuilder = new HubConnectionBuilder() 164var connectionBuilder = new HubConnectionBuilder() 2067var hubConnectionBuilder = new HubConnectionBuilder() 2266var connectionBuilder = 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 (21)
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 (3)
63var builder = new HubConnectionBuilder().WithUrl("http://example.com"); 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.StackExchangeRedis.Tests (1)
RedisEndToEnd.cs (1)
217var hubConnectionBuilder = new HubConnectionBuilder()
Microsoft.AspNetCore.SignalR.Tests (1)
NativeAotTests.cs (1)
31var hubConnectionBuilder = new HubConnectionBuilder()
Microsoft.AspNetCore.SignalR.Tests.Utils (2)
HubConnectionBuilderTestExtensions.cs (2)
13public static IHubConnectionBuilder WithLoggerFactory(this IHubConnectionBuilder hubConnectionBuilder, ILoggerFactory loggerFactory)