HubEndpointConventionBuilder Class
Definition
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.
Builds conventions that will be used for customization of Hub EndpointBuilder instances.
public ref class HubEndpointConventionBuilder sealed : Microsoft::AspNetCore::Builder::IEndpointConventionBuilder, Microsoft::AspNetCore::Builder::IHubEndpointConventionBuilder
public sealed class HubEndpointConventionBuilder : Microsoft.AspNetCore.Builder.IEndpointConventionBuilder, Microsoft.AspNetCore.Builder.IHubEndpointConventionBuilder
type HubEndpointConventionBuilder = class
interface IEndpointConventionBuilder
interface IHubEndpointConventionBuilder
type HubEndpointConventionBuilder = class
interface IHubEndpointConventionBuilder
interface IEndpointConventionBuilder
Public NotInheritable Class HubEndpointConventionBuilder
Implements IEndpointConventionBuilder, IHubEndpointConventionBuilder
- Inheritance
-
HubEndpointConventionBuilder
- Implements
Methods
Add(Action<EndpointBuilder>) |
Adds the specified convention to the builder. Conventions are used to customize EndpointBuilder instances. |
Finally(Action<EndpointBuilder>) |
Registers the specified convention for execution after conventions registered via Add(Action<EndpointBuilder>) |
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. |