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

Search Results for

    Method GetDefaultQueryParams

    GetDefaultQueryParams(string)

    Gets the default query string parameters to include in API requests and hub connections. Per-call parameters with the same key override default parameters. If a parent client exists, returns the parent's defaults. Override this method to inject common parameters such as the user ID precondition.

    Declaration
    protected virtual ReadOnlySpan<(string Name, object? Value)> GetDefaultQueryParams(string path)
    Parameters
    Type Name Description
    string path

    The request path, which can be used to conditionally include or exclude default parameters.

    Returns
    Type Description
    ReadOnlySpan<(string Name, object Value)>

    A span of default query string parameters. Returns an empty span if there are no defaults.

    © Singulink. All rights reserved.