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

Search Results for

    Method OnDisconnectedAsync

    OnDisconnectedAsync(HubLifetimeContext, Exception?, Func<HubLifetimeContext, Exception?, Task>)

    Allows handling of the OnDisconnectedAsync(Exception) method.

    Declaration
    public Task OnDisconnectedAsync(HubLifetimeContext context, Exception? exception, Func<HubLifetimeContext, Exception?, Task> next)
    Parameters
    Type Name Description
    HubLifetimeContext context

    The context for OnDisconnectedAsync.

    Exception exception

    The exception, if any, for the connection closing.

    Func<HubLifetimeContext, Exception, Task> next

    The next filter to run, and for the final one, the Hub invocation.

    Returns
    Type Description
    Task
    Implements
    IHubFilter.OnDisconnectedAsync(HubLifetimeContext, Exception, Func<HubLifetimeContext, Exception, Task>)
    © Singulink. All rights reserved.