Share via


GetHttpContextExtensions Class

Definition

Extension methods for accessing HttpContext from a hub context.

public ref class GetHttpContextExtensions abstract sealed
public static class GetHttpContextExtensions
type GetHttpContextExtensions = class
Public Module GetHttpContextExtensions
Inheritance
GetHttpContextExtensions

Methods

GetHttpContext(HubCallerContext)

Gets HttpContext from the specified connection, or null if the connection is not associated with an HTTP request.

GetHttpContext(HubConnectionContext)

Gets HttpContext from the specified connection, or null if the connection is not associated with an HTTP request.

Applies to