Skip to main content

rate_limit_response

Function rate_limit_response 

Source
pub fn rate_limit_response(retry_after_secs: f64) -> Response<Body>
Expand description

Build a 429 Too Many Requests response with AT-Protocol-style JSON body.