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

Search Results for

    Constructor RateLimitRejectionContext

    RateLimitRejectionContext(HttpContext, string?, TimeSpan?)

    Initializes a new instance of the RateLimitRejectionContext class.

    Declaration
    public RateLimitRejectionContext(HttpContext httpContext, string? rejectionMessage, TimeSpan? retryAfter)
    Parameters
    Type Name Description
    HttpContext httpContext

    The context of the rejected request.

    string rejectionMessage

    The rejection message of the per-client limit that rejected the request, if it has one.

    TimeSpan? retryAfter

    How long the client should wait before it tries again, if the limiter that rejected the request reports it.

    © Singulink. All rights reserved.