BasicDirectives

Basic directives are building blocks for building Custom Directives. As such they usually aren’t used in a route directly but rather in the definition of new directives.

Providing Values to Inner Routes

These directives provide values to the inner routes with extractions. They can be distinguished on two axes: a) provide a constant value or extract a value from the RequestContextRequestContext b) provide a single value or a tuple of values.

Transforming the Request(Context)

Transforming the Response

These directives allow to hook into the response path and transform the complete response or the parts of a response or the list of rejections:

Transforming the RouteResult

These directives allow to transform the RouteResult of the inner route.

Other

Alphabetically

Found an error in this documentation? The source code for this page can be found here. Please feel free to edit and contribute a pull request.