Attributes
- Companion:
- trait
- Graph
- Supertypes
- Self type
- Middleware.type
Members list
Type members
Classlikes
Attributes
- Graph
- Supertypes
- class AnyValtrait Matchableclass Any
Attributes
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
Inherited types
The names of the product elements
The name of the type
Value members
Concrete methods
Sets cookie in response headers
Sets cookie in response headers
Attributes
Creates a middleware for basic authentication
Creates a middleware for basic authentication
Attributes
Creates a middleware for basic authentication that checks if the credentials are same as the ones given
Creates a middleware for basic authentication that checks if the credentials are same as the ones given
Attributes
Creates a middleware for basic authentication using an effectful verification function
Creates a middleware for basic authentication using an effectful verification function
Attributes
Creates a middleware for bearer authentication that checks the token using the given function
Creates a middleware for bearer authentication that checks the token using the given function
Attributes
- f
: function that validates the token string inside the Bearer Header
Creates a middleware for bearer authentication that checks the token using the given effectful function
Creates a middleware for bearer authentication that checks the token using the given effectful function
Attributes
- f
: function that effectfully validates the token string inside the Bearer Header
Creates a middleware for Cross-Origin Resource Sharing (CORS).
Creates a middleware for Cross-Origin Resource Sharing (CORS).
Attributes
- See also:
Generates a new CSRF token that can be validated using the csrfValidate middleware.
Generates a new CSRF token that can be validated using the csrfValidate middleware.
CSRF middlewares: To prevent Cross-site request forgery attacks. This middleware is modeled after the double submit cookie pattern. Used in conjunction with csrfValidate middleware.
Attributes
Validates the CSRF token appearing in the request headers. Typically the
token should be set using the csrfGenerate
middleware.
Validates the CSRF token appearing in the request headers. Typically the
token should be set using the csrfGenerate
middleware.
CSRF middlewares : To prevent Cross-site request forgery attacks. This middleware is modeled after the double submit cookie pattern. Used in conjunction with csrfGenerate middleware
Attributes
Creates an authentication middleware that only allows authenticated requests to be passed on to the app.
Creates an authentication middleware that only allows authenticated requests to be passed on to the app.
Attributes
Creates an authentication middleware that only allows authenticated requests to be passed on to the app using an effectful verification function.
Creates an authentication middleware that only allows authenticated requests to be passed on to the app using an effectful verification function.
Attributes
Adds the content base header to the response with the given value.
Adds the content base header to the response with the given value.
Attributes
Adds the content base header to the response with the given value, if it is valid. Else, it add an empty value.
Adds the content base header to the response with the given value, if it is valid. Else, it add an empty value.
Attributes
Adds the content base header to the response with the value computed by the given effect.
Adds the content base header to the response with the value computed by the given effect.
Attributes
Adds the content base header to the response with the value computed by the given effect, if it is valid. Else, it add an empty value.
Adds the content base header to the response with the value computed by the given effect, if it is valid. Else, it add an empty value.
Attributes
Adds the content disposition header to the response with the given value.
Adds the content disposition header to the response with the given value.
Attributes
Adds the content disposition header to the response with the given value, if it is valid. Else, it adds an empty value.
Adds the content disposition header to the response with the given value, if it is valid. Else, it adds an empty value.
Attributes
Adds the content disposition header to the response with the value computed by the given effect.
Adds the content disposition header to the response with the value computed by the given effect.
Attributes
Adds the content disposition header to the response with the value computed by the given effect, if it is valid. Else, it adds an empty value.
Adds the content disposition header to the response with the value computed by the given effect, if it is valid. Else, it adds an empty value.
Attributes
Adds the content encoding header to the response with the given value.
Adds the content encoding header to the response with the given value.
Attributes
Adds the content encoding header to the response with the given value, if it is valid. Else, it adds an empty value.
Adds the content encoding header to the response with the given value, if it is valid. Else, it adds an empty value.
Attributes
Adds the content encoding header to the response with the value computed by the given effect.
Adds the content encoding header to the response with the value computed by the given effect.
Attributes
Adds the content encoding header to the response with the value computed by the given effect, if it is valid. Else, it adds an empty value.
Adds the content encoding header to the response with the value computed by the given effect, if it is valid. Else, it adds an empty value.
Attributes
Adds the content language header to the response with the given value.
Adds the content language header to the response with the given value.
Attributes
Adds the content language header to the response with the given value, if it is valid. Else, it adds an empty value.
Adds the content language header to the response with the given value, if it is valid. Else, it adds an empty value.
Attributes
Adds the content language header to the response with the value computed by the given effect.
Adds the content language header to the response with the value computed by the given effect.
Attributes
Adds the content language header to the response with the value computed by the given effect, if it is valid. Else, it adds an empty value.
Adds the content language header to the response with the value computed by the given effect, if it is valid. Else, it adds an empty value.
Attributes
Adds the content length header to the response with the given value.
Adds the content length header to the response with the given value.
Attributes
Adds the content length header to the response with the given value, if it is valid. Else, it adds an empty value.
Adds the content length header to the response with the given value, if it is valid. Else, it adds an empty value.
Attributes
Adds the content length header to the response with the value computed by the given effect.
Adds the content length header to the response with the value computed by the given effect.
Attributes
Adds the content length header to the response with the value computed by the given effect, if it is valid. Else, it adds an empty value.
Adds the content length header to the response with the value computed by the given effect, if it is valid. Else, it adds an empty value.
Attributes
Adds the content location header to the response with the given value.
Adds the content location header to the response with the given value.
Attributes
Adds the content location header to the response with the given value, if it is valid. Else, it adds an empty value.
Adds the content location header to the response with the given value, if it is valid. Else, it adds an empty value.
Attributes
Adds the content location header to the response with the value computed by the given effect.
Adds the content location header to the response with the value computed by the given effect.
Attributes
Adds the content location header to the response with the value computed by the given effect, if it is valid. Else, it adds an empty value.
Adds the content location header to the response with the value computed by the given effect, if it is valid. Else, it adds an empty value.
Attributes
Adds the content md5 header to the response with the given value.
Adds the content md5 header to the response with the given value.
Attributes
Adds the content md5 header to the response with the given value, if it is valid. Else, it adds an empty value.
Adds the content md5 header to the response with the given value, if it is valid. Else, it adds an empty value.
Attributes
Adds the content md5 header to the response with the value computed by the given effect.
Adds the content md5 header to the response with the value computed by the given effect.
Attributes
Adds the content md5 header to the response with the value computed by the given effect, if it is valid. Else, it adds an empty value.
Adds the content md5 header to the response with the value computed by the given effect, if it is valid. Else, it adds an empty value.
Attributes
Adds the content range header to the response with the given value.
Adds the content range header to the response with the given value.
Attributes
Adds the content range header to the response with the given value, if it is valid. Else, it adds an empty value.
Adds the content range header to the response with the given value, if it is valid. Else, it adds an empty value.
Attributes
Adds the content range header to the response with the value computed by the given effect.
Adds the content range header to the response with the value computed by the given effect.
Attributes
Adds the content range header to the response with the value computed by the given effect, if it is valid. Else, it adds an empty value.
Adds the content range header to the response with the value computed by the given effect, if it is valid. Else, it adds an empty value.
Attributes
Adds the content security policy header to the response with the given value.
Adds the content security policy header to the response with the given value.
Attributes
Adds the content security policy header to the response with the given value, if it is valid. Else, it adds an empty value.
Adds the content security policy header to the response with the given value, if it is valid. Else, it adds an empty value.
Attributes
Adds the content security policy header to the response with the value computed by the given effect.
Adds the content security policy header to the response with the value computed by the given effect.
Attributes
Adds the content security policy header to the response with the value computed by the given effect, if it is valid. Else, it adds an empty value.
Adds the content security policy header to the response with the value computed by the given effect, if it is valid. Else, it adds an empty value.
Attributes
Adds the content transfer encoding header to the response with the given value.
Adds the content transfer encoding header to the response with the given value.
Attributes
Adds the content transfer encoding header to the response with the given value, if it is valid. Else, it adds an empty value.
Adds the content transfer encoding header to the response with the given value, if it is valid. Else, it adds an empty value.
Attributes
Adds the content transfer encoding header to the response with the value
Adds the content transfer encoding header to the response with the value
Attributes
Adds the content transfer encoding header to the response with the value
Adds the content transfer encoding header to the response with the value
Attributes
Adds the content type header to the response with the given value.
Adds the content type header to the response with the given value.
Attributes
Adds the content type header to the response with the given value, if it is valid. Else, it adds an empty value.
Adds the content type header to the response with the given value, if it is valid. Else, it adds an empty value.
Attributes
Adds the content type header to the response with the value computed by the given effect.
Adds the content type header to the response with the value computed by the given effect.
Attributes
Adds the content type header to the response with the value computed by the given effect, if it is valid. Else, it adds an empty value.
Adds the content type header to the response with the value computed by the given effect, if it is valid. Else, it adds an empty value.