Oihana PHP Enums

RateLimitHeaderTrait

Rate limiting HTTP header names (de-facto + IETF draft).

Mixed into HttpHeader.

Tags
author

Marc Alcaraz (ekameleon)

since
1.1.0

Table of Contents

Constants

RATELIMIT_LIMIT  : string = 'RateLimit-Limit'
`RateLimit-Limit` — Request quota for the window (IETF draft).
RATELIMIT_REMAINING  : string = 'RateLimit-Remaining'
`RateLimit-Remaining` — Remaining quota in the current window (IETF draft).
RATELIMIT_RESET  : string = 'RateLimit-Reset'
`RateLimit-Reset` — Time until the quota resets (IETF draft).
X_RATELIMIT_LIMIT  : string = 'X-RateLimit-Limit'
`X-RateLimit-Limit` — Request quota for the window (de-facto).
X_RATELIMIT_REMAINING  : string = 'X-RateLimit-Remaining'
`X-RateLimit-Remaining` — Remaining quota in the current window (de-facto).
X_RATELIMIT_RESET  : string = 'X-RateLimit-Reset'
`X-RateLimit-Reset` — Time until the quota resets (de-facto).

Constants

RATELIMIT_LIMIT

`RateLimit-Limit` — Request quota for the window (IETF draft).

public string RATELIMIT_LIMIT = 'RateLimit-Limit'

RATELIMIT_REMAINING

`RateLimit-Remaining` — Remaining quota in the current window (IETF draft).

public string RATELIMIT_REMAINING = 'RateLimit-Remaining'

RATELIMIT_RESET

`RateLimit-Reset` — Time until the quota resets (IETF draft).

public string RATELIMIT_RESET = 'RateLimit-Reset'

X_RATELIMIT_LIMIT

`X-RateLimit-Limit` — Request quota for the window (de-facto).

public string X_RATELIMIT_LIMIT = 'X-RateLimit-Limit'

X_RATELIMIT_REMAINING

`X-RateLimit-Remaining` — Remaining quota in the current window (de-facto).

public string X_RATELIMIT_REMAINING = 'X-RateLimit-Remaining'

X_RATELIMIT_RESET

`X-RateLimit-Reset` — Time until the quota resets (de-facto).

public string X_RATELIMIT_RESET = 'X-RateLimit-Reset'
On this page

Search results