HubConfiguration Class

.NET Framework 4.5

Represents a hub configuration.

Namespace:  Microsoft.AspNet.SignalR
Assembly:  Microsoft.AspNet.SignalR.Core (in Microsoft.AspNet.SignalR.Core.dll)

public ref class HubConfiguration : public ConnectionConfiguration

The HubConfiguration type exposes the following members.

  NameDescription
Public methodHubConfigurationInitializes a new instance of the HubConfiguration class.
Top

  NameDescription
Public propertyEnableDetailedErrorsDetermines whether detailed exceptions thrown in Hub methods get reported back to the invoking client. Defaults to false.
Public propertyEnableJavaScriptProxiesDetermines whether JavaScript proxies for the server-side hubs should be auto generated at {Path}/hubs. Defaults to true.
Public propertyEnableJSONPGets of sets a boolean that determines if JSONP is enabled. (Inherited from ConnectionConfiguration.)
Public propertyResolverGets or sets the dependency resolver to use for the hub connection. (Inherited from ConnectionConfiguration.)
Top

  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show: