HTTP API Toolkit HTTP API Toolkit
HTTP API Toolkit HTTP API Toolkit
DocFX + Singulink = ♥

Search Results for

    Method GetRequiredSessionContext

    GetRequiredSessionContext<TSessionToken>(HubCallerContext)

    Gets the session context for the hub connection.

    Declaration
    public static HttpSessionContext<TSessionToken> GetRequiredSessionContext<TSessionToken>(this HubCallerContext context) where TSessionToken : class, ISessionToken
    Parameters
    Type Name Description
    HubCallerContext context
    Returns
    Type Description
    HttpSessionContext<TSessionToken>
    Type Parameters
    Name Description
    TSessionToken
    Exceptions
    Type Condition
    InvalidOperationException

    The hub connection does not have an HTTP context or session handling is not registered.

    © Singulink. All rights reserved.