rama::layer

Module timeout

Expand description

Middleware that applies a timeout to requests.

If the response does not complete within the specified timeout, the response will be aborted.

Structsยง

  • The timeout elapsed.
  • Applies a timeout to requests.
  • Applies a timeout to requests via the supplied inner service.