IHubEndpointConventionBuilder Interface

Definition

Abstraction that builds conventions that will be used for customization of Hub EndpointBuilder instances.

public interface class IHubEndpointConventionBuilder : Microsoft::AspNetCore::Builder::IEndpointConventionBuilder
public interface IHubEndpointConventionBuilder : Microsoft.AspNetCore.Builder.IEndpointConventionBuilder
type IHubEndpointConventionBuilder = interface
    interface IEndpointConventionBuilder
Public Interface IHubEndpointConventionBuilder
Implements IEndpointConventionBuilder
Derived
Implements

Methods

Add(Action<EndpointBuilder>)

Adds the specified convention to the builder. Conventions are used to customize EndpointBuilder instances.

(Inherited from IEndpointConventionBuilder)
Finally(Action<EndpointBuilder>)

Registers the specified convention for execution after conventions registered via Add(Action<EndpointBuilder>)

(Inherited from IEndpointConventionBuilder)

Extension Methods

DisableRequestTimeout(IEndpointConventionBuilder)

Disables request timeout on the endpoint(s).

WithRequestTimeout(IEndpointConventionBuilder, RequestTimeoutPolicy)

Specifies a timeout policy for to the endpoint(s).

WithRequestTimeout(IEndpointConventionBuilder, String)

Specifies a timeout policy for to the endpoint(s).

WithRequestTimeout(IEndpointConventionBuilder, TimeSpan)

Specifies a timeout for the endpoint(s).

ShortCircuit(IEndpointConventionBuilder, Nullable<Int32>)

Short circuit the endpoint(s). The execution of the endpoint will happen in UseRouting middleware instead of UseEndpoint.

Applies to