# actix_web::http::header::RETRY_AFTER - Rust
API documentation for the Rust `RETRY_AFTER` constant in crate `actix_web`.
Keywords: rust, rustlang, rust-lang, RETRY_AFTER

# [−] [src] Constant actix_web::http::header::RETRY_AFTER

    pub const RETRY_AFTER: HeaderName

The Retry-After response HTTP header indicates how long the user agent should wait before making a follow-up request. There are two main cases this header is used:

- When sent with a 503 (Service Unavailable) response, it indicates how long the service is expected to be unavailable.

- When sent with a redirect response, such as 301 (Moved Permanently), it indicates the minimum time that the user agent is asked to wait before issuing the redirected request.

# Help

## Keyboard Shortcuts

`?`
  Show this help dialog
`S`
  Focus the search field
`↑`
  Move up in search results
`↓`
  Move down in search results
`↹`
  Switch tab
`⏎`
  Go to active search result
`+`
  Expand all sections
`-`
  Collapse all sections

## Search Tricks

Prefix searches with a type followed by a colon (e.g. `fn:`) to restrict the search to a given type.

Accepted types are: `fn`, `mod`, `struct`, `enum`, `trait`, `type`, `macro`, and `const`.

Search functions by type signature (e.g. `vec -> usize` or `* -> vec`)

Search multiple things at once by splitting your query with comma (e.g. `str,u8` or `String,struct:Vec,test`)