Class HubConfig
Inheritance
object
HubConfig
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Volo.Abp.AspNetCore.SignalR
Assembly: Volo.Abp.AspNetCore.SignalR.dll
Syntax
public class HubConfig
Constructors
HubConfig(Type, string, Action<HttpConnectionDispatcherOptions>)
Declaration
public HubConfig(Type hubType, string routePattern, Action<HttpConnectionDispatcherOptions> configureAction = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Type | hubType | |
| string | routePattern | |
| System.Action<T><HttpConnectionDispatcherOptions> | configureAction |
Properties
ConfigureActions
Declaration
public List<Action<HttpConnectionDispatcherOptions>> ConfigureActions { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.List<T><System.Action<T><HttpConnectionDispatcherOptions>> |
HubType
Declaration
public Type HubType { get; }
Property Value
| Type | Description |
|---|---|
| System.Type |
RoutePattern
Declaration
public string RoutePattern { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Methods
Create(Type)
Declaration
public static HubConfig Create(Type hubType)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Type | hubType |
Returns
| Type | Description |
|---|---|
| HubConfig |
Create<THub>()
Declaration
public static HubConfig Create<THub>() where THub : Hub
Returns
| Type | Description |
|---|---|
| HubConfig |
Type Parameters
| Name | Description |
|---|---|
| THub |