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

Search Results for

    Property RejectionMessage

    RejectionMessage

    Gets or sets the message of the error that requests rejected by this limit receive, or null for the message of the rejection response (see SetApiRejectionResponse(RateLimiterOptions, string?)). Default is null.

    Declaration
    public string? RejectionMessage { get; set; }
    Property Value
    Type Description
    string
    Remarks

    A rejection response that is set with a function (see SetApiRejectionResponse(RateLimiterOptions, Func<RateLimitRejectionContext, string>)) passes this value to the function, which returns the message.

    © Singulink. All rights reserved.