Predefined Directives (by trait)

Predefined Directives (by trait)

All predefined directives are organized into traits that form one part of the overarching Directives trait.

Directives filtering or extracting from the request

MethodDirectives
Filter and extract based on the request method.
HeaderDirectives
Filter and extract based on request headers.
PathDirectives
Filter and extract from the request URI path.
HostDirectives
Filter and extract based on the target host.
ParameterDirectives, FormFieldDirectives
Filter and extract based on query parameters or form fields.
CodingDirectives
Filter and decode compressed request content.
Marshalling Directives
Extract the request entity.
SchemeDirectives
Filter and extract based on the request scheme.
SecurityDirectives
Handle authentication data from the request.
CookieDirectives
Filter and extract cookies.
BasicDirectives and MiscDirectives
Directives handling request properties.
FileUploadDirectives
Handle file uploads.

Directives creating or transforming the response

CacheConditionDirectives
Support for conditional requests (304 Not Modified responses).
CookieDirectives
Set, modify, or delete cookies.
CodingDirectives
Compress responses.
FileAndResourceDirectives
Deliver responses from files and resources.
RangeDirectives
Support for range requests (206 Partial Content responses).
RespondWithDirectives
Change response properties.
RouteDirectives
Complete or reject a request with a response.
BasicDirectives and MiscDirectives
Directives handling or transforming response properties.
TimeoutDirectives
Configure request timeouts and automatic timeout responses.

Contents