Adds helper functions to Directive0
"Standard" transformers for Directive1.
"Standard" transformers for Directive1.
Easier to use than tmap
, tflatMap
, etc. defined on Directive itself,
because they provide transparent conversion from Tuple1.
A Directive that always passes the request on to its inner route (i.e.
A Directive that always passes the request on to its inner route (i.e. does nothing).
previous, non-value class implementation kept around for binary compatibility TODO: remove with next binary incompatible release bump
previous, non-value class implementation kept around for binary compatibility TODO: remove with next binary incompatible release bump
INTERNAL API
Adds apply
to Directive0.
Adds apply
to Directive0. Note: The apply
parameter is call-by-name to ensure consistent execution behavior
with the directives producing extractions.
Adds apply
to all Directives with 1 or more extractions,
which allows specifying an n-ary function to receive the extractions instead of a Function1[TupleX, Route].
Constructs a directive from a function literal.