Predefined Directives (by trait)
Loading

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.
MarshallingDirectives
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.

Directives creating or transforming the response

CacheConditionDirectives
Support for conditional requests (304 Not Modified responses).
ChunkingDirectives
Automatically break a response into chunks.
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.

Contents