Attributes
- Companion
- object
- Source
- TimeoutDirectives.scala
- Graph
-
- Supertypes
- Known subtypes
Members list
Grouped members
Timeout directives
Return the currently set request timeout.
Return the currently set request timeout.
Note that this may be changed in inner directives.
Attributes
- Source
- TimeoutDirectives.scala
Tries to set a new request timeout and handler (if provided) at the same time.
Tries to set a new request timeout and handler (if provided) at the same time.
Due to the inherent raciness it is not guaranteed that the update will be applied before the previously set timeout has expired!
Attributes
- Source
- TimeoutDirectives.scala
Tries to set a new request timeout and handler (if provided) at the same time.
Tries to set a new request timeout and handler (if provided) at the same time.
Due to the inherent raciness it is not guaranteed that the update will be applied before the previously set timeout has expired!
Value parameters
- handler
-
optional custom "timeout response" function. If left None, the default timeout HttpResponse will be used.
Attributes
- Source
- TimeoutDirectives.scala
Tries to set a new request timeout and handler (if provided) at the same time.
Tries to set a new request timeout and handler (if provided) at the same time.
Due to the inherent raciness it is not guaranteed that the update will be applied before the previously set timeout has expired!
Value parameters
- handler
-
optional custom "timeout response" function. If left None, the default timeout HttpResponse will be used.
Attributes
- Source
- TimeoutDirectives.scala
Tries to set a new request timeout handler, which produces the timeout response for a given request. Note that the handler must produce the response synchronously and shouldn't block!
Tries to set a new request timeout handler, which produces the timeout response for a given request. Note that the handler must produce the response synchronously and shouldn't block!
Due to the inherent raciness it is not guaranteed that the update will be applied before the previously set timeout has expired!
Attributes
- Source
- TimeoutDirectives.scala
Attributes
- Source
- TimeoutDirectives.scala