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

Search Results for

    Method AddHttpSessionHandling

    AddHttpSessionHandling<TSessionToken, TSessionStoreContextFactory>(IServiceCollection, Action<SessionHandlingOptions>?)

    Registers services required for enabling HTTP session handling.

    Declaration
    public static IServiceCollection AddHttpSessionHandling<TSessionToken, TSessionStoreContextFactory>(this IServiceCollection services, Action<SessionHandlingOptions>? configure = null) where TSessionToken : class, ISessionToken where TSessionStoreContextFactory : class, ISessionStoreContextFactory<TSessionToken>
    Parameters
    Type Name Description
    IServiceCollection services

    The service collection to add session handling services to.

    Action<SessionHandlingOptions> configure

    An optional action to configure options.

    Returns
    Type Description
    IServiceCollection
    Type Parameters
    Name Description
    TSessionToken

    The session token type.

    TSessionStoreContextFactory

    The factory type for creating session store contexts.

    © Singulink. All rights reserved.