IConnectionBuilder Interface

Definition

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

ApplicationServices

Gets the IServiceProvider that provides access to the application's service container.

Methods

Build()

Builds the delegate used by this application to process connections.

Use(Func<ConnectionDelegate,ConnectionDelegate>)

Adds a middleware delegate to the application's connection pipeline.

Extension Methods

Run(IConnectionBuilder, Func<ConnectionContext,Task>)
Use(IConnectionBuilder, Func<ConnectionContext,Func<Task>,Task>)
UseConnectionHandler<TConnectionHandler>(IConnectionBuilder)
UseHub<THub>(IConnectionBuilder)

Configure the connection to host the specified Hub type.

Applies to