interface TimeoutHandler : Handler<RoutingContext>
Handler that will timeout requests if the response has not been written after a certain time. Timeout requests will be ended with an HTTP status code `503`.
Author
Tim Fox
static val DEFAULT_ERRORCODE: Int
The default error code |
|
static val DEFAULT_TIMEOUT: Long
The default timeout, in ms |
open static fun create(): TimeoutHandleropen static fun create(timeout: Long): TimeoutHandleropen static fun create(timeout: Long, errorCode: Int): TimeoutHandler
Create a handler |