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

Search Results for

    Method InvokeAsync

    InvokeAsync<TResult>(ISingleClientProxy, HubMethod<TResult>, CancellationToken)

    Invokes a method on the client and returns its result.

    Declaration
    public static Task<TResult> InvokeAsync<TResult>(this ISingleClientProxy client, HubMethod<TResult> method, CancellationToken cancellationToken = default)
    Parameters
    Type Name Description
    ISingleClientProxy client
    HubMethod<TResult> method
    CancellationToken cancellationToken
    Returns
    Type Description
    Task<TResult>
    Type Parameters
    Name Description
    TResult

    InvokeAsync<T1, TResult>(ISingleClientProxy, HubMethod<T1, TResult>, T1, CancellationToken)

    Invokes a method with the specified argument on the client and returns its result.

    Declaration
    public static Task<TResult> InvokeAsync<T1, TResult>(this ISingleClientProxy client, HubMethod<T1, TResult> method, T1 arg1, CancellationToken cancellationToken = default)
    Parameters
    Type Name Description
    ISingleClientProxy client
    HubMethod<T1, TResult> method
    T1 arg1
    CancellationToken cancellationToken
    Returns
    Type Description
    Task<TResult>
    Type Parameters
    Name Description
    T1
    TResult

    InvokeAsync<T1, T2, TResult>(ISingleClientProxy, HubMethod<T1, T2, TResult>, T1, T2, CancellationToken)

    Invokes a method with the specified arguments on the client and returns its result.

    Declaration
    public static Task<TResult> InvokeAsync<T1, T2, TResult>(this ISingleClientProxy client, HubMethod<T1, T2, TResult> method, T1 arg1, T2 arg2, CancellationToken cancellationToken = default)
    Parameters
    Type Name Description
    ISingleClientProxy client
    HubMethod<T1, T2, TResult> method
    T1 arg1
    T2 arg2
    CancellationToken cancellationToken
    Returns
    Type Description
    Task<TResult>
    Type Parameters
    Name Description
    T1
    T2
    TResult

    InvokeAsync<T1, T2, T3, TResult>(ISingleClientProxy, HubMethod<T1, T2, T3, TResult>, T1, T2, T3, CancellationToken)

    Invokes a method with the specified arguments on the client and returns its result.

    Declaration
    public static Task<TResult> InvokeAsync<T1, T2, T3, TResult>(this ISingleClientProxy client, HubMethod<T1, T2, T3, TResult> method, T1 arg1, T2 arg2, T3 arg3, CancellationToken cancellationToken = default)
    Parameters
    Type Name Description
    ISingleClientProxy client
    HubMethod<T1, T2, T3, TResult> method
    T1 arg1
    T2 arg2
    T3 arg3
    CancellationToken cancellationToken
    Returns
    Type Description
    Task<TResult>
    Type Parameters
    Name Description
    T1
    T2
    T3
    TResult
    © Singulink. All rights reserved.