{
namespace Microsoft.AspNetCore.Builder {
+ public sealed class HubEndpointConventionBuilder : IEndpointConventionBuilder, IHubEndpointConventionBuilder {
+ public void Add(Action<EndpointBuilder> convention);
+ }
+ public static class HubEndpointRouteBuilderExtensions {
+ public static HubEndpointConventionBuilder MapHub<THub>(this IEndpointRouteBuilder endpoints, string pattern) where THub : Hub;
+ public static HubEndpointConventionBuilder MapHub<THub>(this IEndpointRouteBuilder endpoints, string pattern, Action<HttpConnectionDispatcherOptions> configureOptions) where THub : Hub;
+ }
+ public interface IHubEndpointConventionBuilder : IEndpointConventionBuilder
}
}