diff --git a/src/Microsoft.AspNetCore.SignalR.Client/HubConnectionBuilderHttpExtensions.cs b/src/Microsoft.AspNetCore.SignalR.Client/HubConnectionBuilderHttpExtensions.cs
index 786d6d9bf5..bd0f6e531a 100644
--- a/src/Microsoft.AspNetCore.SignalR.Client/HubConnectionBuilderHttpExtensions.cs
+++ b/src/Microsoft.AspNetCore.SignalR.Client/HubConnectionBuilderHttpExtensions.cs
@@ -21,7 +21,7 @@ namespace Microsoft.AspNetCore.SignalR.Client
/// The same instance of the for chaining.
public static IHubConnectionBuilder WithUrl(this IHubConnectionBuilder hubConnectionBuilder, string url)
{
- hubConnectionBuilder.WithUrlCore(new Uri(url), null, _ => { });
+ hubConnectionBuilder.WithUrlCore(new Uri(url), null, null);
return hubConnectionBuilder;
}
@@ -47,7 +47,7 @@ namespace Microsoft.AspNetCore.SignalR.Client
/// The same instance of the for chaining.
public static IHubConnectionBuilder WithUrl(this IHubConnectionBuilder hubConnectionBuilder, string url, HttpTransportType transports)
{
- hubConnectionBuilder.WithUrlCore(new Uri(url), transports, _ => { });
+ hubConnectionBuilder.WithUrlCore(new Uri(url), transports, null);
return hubConnectionBuilder;
}
@@ -73,7 +73,7 @@ namespace Microsoft.AspNetCore.SignalR.Client
/// The same instance of the for chaining.
public static IHubConnectionBuilder WithUrl(this IHubConnectionBuilder hubConnectionBuilder, Uri url)
{
- hubConnectionBuilder.WithUrlCore(url, null, _ => { });
+ hubConnectionBuilder.WithUrlCore(url, null, null);
return hubConnectionBuilder;
}
@@ -99,7 +99,7 @@ namespace Microsoft.AspNetCore.SignalR.Client
/// The same instance of the for chaining.
public static IHubConnectionBuilder WithUrl(this IHubConnectionBuilder hubConnectionBuilder, Uri url, HttpTransportType transports)
{
- hubConnectionBuilder.WithUrlCore(url, transports, _ => { });
+ hubConnectionBuilder.WithUrlCore(url, transports, null);
return hubConnectionBuilder;
}