Share via


HubCallerContext Class

.NET Framework 4

Inheritance Hierarchy

System.Object
  Microsoft.AspNet.SignalR.Hubs.HubCallerContext

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

Syntax

'Declaration
Public Class HubCallerContext
'Usage
Dim instance As HubCallerContext
public class HubCallerContext
public ref class HubCallerContext
type HubCallerContext =  class end
public class HubCallerContext

The HubCallerContext type exposes the following members.

Constructors

  Name Description
Public method HubCallerContext

Top

Properties

  Name Description
Public property ConnectionId Gets the connection ID of the calling client.
Public property Headers Gets the headers for the request.
Public property QueryString Gets the query string for the request.
Public property Request Gets the IRequest for the current HTTP request.
Public property RequestCookies Gets the cookies for the request.
Public property User Gets the IPrincipal for the request.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

Thread Safety

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

See Also

Reference

Microsoft.AspNet.SignalR.Hubs Namespace