A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://docs.microsoft.com/en-us/dotnet/api/microsoft.aspnetcore.connections.iconnectionbuilder below:

IConnectionBuilder Interface (Microsoft.AspNetCore.Connections) | Microsoft Learn

IConnectionBuilder Interface Definition
Namespace:
Microsoft.AspNetCore.Connections
Assembly:
Microsoft.AspNetCore.Connections.Abstractions.dll
Package:
Microsoft.AspNetCore.Connections.Abstractions v10.0.0-preview.6.25358.103
Package:
Microsoft.AspNetCore.Connections.Abstractions v2.1.0
Package:
Microsoft.AspNetCore.Connections.Abstractions v2.2.0
Package:
Microsoft.AspNetCore.Connections.Abstractions v3.0.3
Package:
Microsoft.AspNetCore.Connections.Abstractions v3.1.18
Package:
Microsoft.AspNetCore.Connections.Abstractions v5.0.9
Package:
Microsoft.AspNetCore.Connections.Abstractions v6.0.6
Package:
Microsoft.AspNetCore.Connections.Abstractions v7.0.5
Package:
Microsoft.AspNetCore.Connections.Abstractions v8.0.0
Package:
Microsoft.AspNetCore.Connections.Abstractions v9.0.2
Source:
IConnectionBuilder.cs
Source:
IConnectionBuilder.cs
Source:
IConnectionBuilder.cs
Source:
IConnectionBuilder.cs
Source:
IConnectionBuilder.cs

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Defines an interface that provides the mechanisms to configure a connection pipeline.

public interface class IConnectionBuilder
public interface IConnectionBuilder
type IConnectionBuilder = interface
Public Interface IConnectionBuilder
Derived
Properties Methods Extension Methods Run(IConnectionBuilder, Func<ConnectionContext,Task>)

Add the given middleware to the connection.

Use(IConnectionBuilder, Func<ConnectionContext,ConnectionDelegate,Task>)

Add the given middleware to the connection. If you aren't calling the next function, use Run(IConnectionBuilder, Func<ConnectionContext,Task>) instead.

Use(IConnectionBuilder, Func<ConnectionContext,Func<Task>,Task>)

Add the given middleware to the connection. If you aren't calling the next function, use Run(IConnectionBuilder, Func<ConnectionContext,Task>) instead.

Prefer using Use(IConnectionBuilder, Func<ConnectionContext,ConnectionDelegate,Task>) for better performance as shown below:

builder.Use((context, next) =>
{
    return next(context);
});
UseConnectionHandler<TConnectionHandler>(IConnectionBuilder)

Use the given TConnectionHandlerConnectionHandler.

UseHub<THub>(IConnectionBuilder)

Configure the connection to host the specified Hub type.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4