mirror of
https://github.com/laurentS/slowapi.git
synced 2026-02-04 03:43:34 +08:00
26 lines
445 B
Markdown
26 lines
445 B
Markdown
# API reference
|
|
|
|
## Limiter class
|
|
|
|
:::slowapi.extension.Limiter
|
|
:docstring:
|
|
:members: limit shared_limit
|
|
|
|
## Wrappers around Limit objects
|
|
|
|
These wrap the `RateLimitItem` from [alisaifee/limits](https://limits.readthedocs.io/).
|
|
|
|
:::slowapi.wrappers.Limit
|
|
:docstring:
|
|
|
|
:::slowapi.wrappers.LimitGroup
|
|
:docstring:
|
|
|
|
## Utility functions
|
|
|
|
:::slowapi.util.get_ipaddr
|
|
:docstring:
|
|
|
|
:::slowapi.util.get_remote_address
|
|
:docstring:
|