Skip to main content

order_rate_limit_middleware

Function order_rate_limit_middleware 

Source
pub async fn order_rate_limit_middleware(
    __arg0: State<RateLimitState>,
    req: Request,
    next: Next,
) -> Response
Expand description

Middleware to check order placement rate limits.

Must be applied AFTER signature middleware (needs SignerContext).