Class HubConfig
Inheritance
System.Object
HubConfig
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
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 | |
| System.String | routePattern | |
| System.Action<HttpConnectionDispatcherOptions> | configureAction |
Properties
ConfigureActions
Declaration
public List<Action<HttpConnectionDispatcherOptions>> ConfigureActions { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.List<System.Action<HttpConnectionDispatcherOptions>> |
HubType
Declaration
public Type HubType { get; }
Property Value
| Type | Description |
|---|---|
| System.Type |
RoutePattern
Declaration
public string RoutePattern { get; set; }
Property Value
| Type | Description |
|---|---|
| System.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 |