Skip to content

Ratelimit system #18

@devnote-dev

Description

@devnote-dev

Currently there is no proper ratelimit system for HTTP requests, all 4xx responses are treated as PteroAPIErrors and are subsequently thrown. Ratelimit responses should be a special case which suspends all requests until the ratelimit is over, this can be tracked via the X-Ratelimit-Limit and X-Ratelimit-Remaining headers.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions