.. _-tprovide-: tprovide ======== Provides an HList of values to the inner route. Signature --------- .. includecode2:: /../../akka-http/src/main/scala/akka/http/server/directives/BasicDirectives.scala :snippet: tprovide Description ----------- The ``tprovide`` directive is used as a building block for :ref:`Custom Directives` to provide data to the inner route. To provide just one value use the :ref:`-provide-` directive. If you want to provide values calculated from the ``RequestContext`` use the :ref:`-textract-` directive instead. See :ref:`ProvideDirectives` for an overview of similar directives. Example ------- .. includecode2:: ../../../code/docs/http/server/directives/BasicDirectivesExamplesSpec.scala :snippet: tprovide