Module request

Source
Expand description

Request parameters for ratelimiting.

This module contains the type definitions for parameters relevant for ratelimiting.

The Ratelimiter uses Paths and Methods to store and associate buckets with endpoints.

Structs§

PathParseError
Error returned when a Path could not be parsed from a string.

Enums§

Method
HTTP request method.
Path
An enum representing a path, most useful for ratelimiting implementations.
PathParseErrorType
Type of PathParseError specifying what failed to parse.