pekko/akka-docs-dev/rst/scala/http/directives/basic-directives/pass.rst

25 lines
480 B
ReStructuredText

.. _-pass-:
pass
====
A directive that passes the request unchanged to its inner route.
Signature
---------
.. includecode2:: /../../akka-http/src/main/scala/akka/http/server/directives/BasicDirectives.scala
:snippet: pass
Description
-----------
The directive is usually used as a "neutral element" when combining directives generically.
Example
-------
.. includecode2:: ../../../code/docs/http/server/directives/BasicDirectivesExamplesSpec.scala
:snippet: pass