RequestHandlerMiddlewares
Attributes
- Graph
- Supertypes
- Self type
Members list
Type members
Classlikes
Attributes
- Graph
- Supertypes
- class AnyValtrait Matchableclass Any
Attributes
- Graph
- Supertypes
- class AnyValtrait Matchableclass Any
Value members
Inherited methods
Sets cookie in response headers
Sets cookie in response headers
Attributes
- Inherited from:
- RequestHandlerMiddlewares (hidden)
Attributes
- Inherited from:
- RequestHandlerMiddlewares (hidden)
Attributes
- Inherited from:
- HeaderModifier
Attributes
- Inherited from:
- HeaderModifier
Attributes
- Inherited from:
- HeaderModifier
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
- Inherited from:
- Auth (hidden)
Creates a middleware for basic authentication
Creates a middleware for basic authentication
Attributes
- Inherited from:
- Auth (hidden)
Creates a middleware for basic authentication using an effectful verification function
Creates a middleware for basic authentication using an effectful verification function
Attributes
- Inherited from:
- Auth (hidden)
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
- Inherited from:
- Auth (hidden)
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
- Inherited from:
- Auth (hidden)
Beautify the error response.
Beautify the error response.
Attributes
- Inherited from:
- RequestHandlerMiddlewares (hidden)
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
- Inherited from:
- Auth (hidden)
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
- Inherited from:
- Auth (hidden)
Add log status, method, url and time taken from req to res
Add log status, method, url and time taken from req to res
Attributes
- Inherited from:
- RequestHandlerMiddlewares (hidden)
Logical operator to decide which middleware to select based on the header
Logical operator to decide which middleware to select based on the header
Attributes
- Inherited from:
- RequestHandlerMiddlewares (hidden)
Logical operator to decide which middleware to select based on the method.
Logical operator to decide which middleware to select based on the method.
Attributes
- Inherited from:
- RequestHandlerMiddlewares (hidden)
Logical operator to decide which middleware to select based on the predicate.
Logical operator to decide which middleware to select based on the predicate.
Attributes
- Inherited from:
- RequestHandlerMiddlewares (hidden)
Attributes
- Inherited from:
- RequestHandlerMiddlewares (hidden)
Attributes
- Inherited from:
- RequestHandlerMiddlewares (hidden)
Logical operator to decide which middleware to select based on the predicate.
Logical operator to decide which middleware to select based on the predicate.
Attributes
- Inherited from:
- RequestHandlerMiddlewares (hidden)
Attributes
- Inherited from:
- RequestHandlerMiddlewares (hidden)
Creates a new middleware using transformation functions
Creates a new middleware using transformation functions
Attributes
- Inherited from:
- RequestHandlerMiddlewares (hidden)
Creates a new middleware using effectful transformation functions
Creates a new middleware using effectful transformation functions
Attributes
- Inherited from:
- RequestHandlerMiddlewares (hidden)
Adds metrics to a zio-http server.
Adds metrics to a zio-http server.
Attributes
- extraLabels
A set of extra labels all metrics will be tagged with.
- pathLabelMapper
A mapping function to map incoming paths to patterns, such as /users/1 to /users/:id.
- requestDurationBoundaries
Boundaries for the HTTP request duration metric.
- requestDurationName
HTTP request duration metric name.
- totalRequestsName
Total HTTP requests metric name.
- Note:
When using Prometheus as your metrics backend, make sure to provide a
pathLabelMapper
in order to avoid high cardinality labels.- Inherited from:
- Metrics (hidden)
Creates a middleware that produces a Patch for the Response
Creates a middleware that produces a Patch for the Response
Attributes
- Inherited from:
- RequestHandlerMiddlewares (hidden)
Creates a middleware that produces a Patch for the Response effectfully.
Creates a middleware that produces a Patch for the Response effectfully.
Attributes
- Inherited from:
- RequestHandlerMiddlewares (hidden)
Client redirect temporary or permanent to specified url.
Client redirect temporary or permanent to specified url.
Attributes
- Inherited from:
- RequestHandlerMiddlewares (hidden)
Permanent redirect if the trailing slash is present in the request URL.
Permanent redirect if the trailing slash is present in the request URL.
Attributes
- Inherited from:
- RequestHandlerMiddlewares (hidden)
Attributes
- Inherited from:
- HeaderModifier
Attributes
- Inherited from:
- HeaderModifier
Attributes
- Inherited from:
- RequestHandlerMiddlewares (hidden)
Attributes
- Inherited from:
- HtmlErrorResponses (hidden)
Attributes
- Inherited from:
- RequestLogging (hidden)
Runs the effect after the middleware is applied
Runs the effect after the middleware is applied
Attributes
- Inherited from:
- RequestHandlerMiddlewares (hidden)
Runs the effect before the request is passed on to the HttpApp on which the middleware is applied.
Runs the effect before the request is passed on to the HttpApp on which the middleware is applied.
Attributes
- Inherited from:
- RequestHandlerMiddlewares (hidden)
Attributes
- Inherited from:
- HeaderModifier
Creates a new middleware that always sets the response status to the provided value
Creates a new middleware that always sets the response status to the provided value
Attributes
- Inherited from:
- RequestHandlerMiddlewares (hidden)
Creates a middleware for signing cookies
Creates a middleware for signing cookies
Attributes
- Inherited from:
- RequestHandlerMiddlewares (hidden)
Times out the application with a 408 status code.
Times out the application with a 408 status code.
Attributes
- Inherited from:
- RequestHandlerMiddlewares (hidden)
Updates the provided list of headers to the response
Updates the provided list of headers to the response
Attributes
- Definition Classes
- RequestHandlerMiddlewares -> HeaderModifier
- Inherited from:
- RequestHandlerMiddlewares (hidden)
Creates a middleware that updates the response produced
Creates a middleware that updates the response produced
Attributes
- Inherited from:
- RequestHandlerMiddlewares (hidden)
Attributes
- Inherited from:
- RequestHandlerMiddlewares (hidden)
Applies the middleware only when the condition for the headers are true
Applies the middleware only when the condition for the headers are true
Attributes
- Inherited from:
- RequestHandlerMiddlewares (hidden)
Applies the middleware only if the condition function evaluates to true
Applies the middleware only if the condition function evaluates to true
Attributes
- Inherited from:
- RequestHandlerMiddlewares (hidden)
Attributes
- Inherited from:
- RequestHandlerMiddlewares (hidden)
Applies the middleware only if the condition function evaluates to true
Applies the middleware only if the condition function evaluates to true
Attributes
- Inherited from:
- RequestHandlerMiddlewares (hidden)
Applies the middleware only if the condition function effectfully evaluates to true
Applies the middleware only if the condition function effectfully evaluates to true
Attributes
- Inherited from:
- RequestHandlerMiddlewares (hidden)
Applies the middleware only if status matches the condition
Applies the middleware only if status matches the condition
Attributes
- Inherited from:
- RequestHandlerMiddlewares (hidden)
Attributes
- Inherited from:
- HeaderModifier
Attributes
- Inherited from:
- HeaderModifier
Attributes
- Inherited from:
- HeaderModifier
Attributes
- Inherited from:
- HeaderModifier
Attributes
- Inherited from:
- HeaderModifier
Attributes
- Inherited from:
- HeaderModifier
Attributes
- Inherited from:
- HeaderModifier
Attributes
- Inherited from:
- HeaderModifier
Attributes
- Inherited from:
- HeaderModifier
Attributes
- Inherited from:
- HeaderModifier
Attributes
- Inherited from:
- HeaderModifier
Attributes
- Inherited from:
- HeaderModifier
Attributes
- Inherited from:
- HeaderModifier
Attributes
- Inherited from:
- HeaderModifier
Attributes
- Inherited from:
- HeaderModifier
Attributes
- Inherited from:
- HeaderModifier
Attributes
- Inherited from:
- HeaderModifier
Attributes
- Inherited from:
- HeaderModifier
Attributes
- Inherited from:
- HeaderModifier
Attributes
- Inherited from:
- HeaderModifier
Attributes
- Inherited from:
- HeaderModifier
Attributes
- Inherited from:
- HeaderModifier
Attributes
- Inherited from:
- HeaderModifier
Attributes
- Inherited from:
- HeaderModifier
Attributes
- Inherited from:
- HeaderModifier
Attributes
- Inherited from:
- HeaderModifier
Attributes
- Inherited from:
- HeaderModifier
Attributes
- Inherited from:
- HeaderModifier
Attributes
- Inherited from:
- HeaderModifier
Attributes
- Inherited from:
- HeaderModifier
Attributes
- Inherited from:
- HeaderModifier
Attributes
- Inherited from:
- HeaderModifier
Attributes
- Inherited from:
- HeaderModifier
Attributes
- Inherited from:
- HeaderModifier
Attributes
- Inherited from:
- HeaderModifier
Attributes
- Inherited from:
- HeaderModifier
Attributes
- Inherited from:
- HeaderModifier
Attributes
- Inherited from:
- HeaderModifier
Attributes
- Inherited from:
- HeaderModifier
Attributes
- Inherited from:
- HeaderModifier
Attributes
- Inherited from:
- HeaderModifier
Attributes
- Inherited from:
- HeaderModifier
Attributes
- Inherited from:
- HeaderModifier
Attributes
- Inherited from:
- HeaderModifier
Attributes
- Inherited from:
- HeaderModifier
Attributes
- Inherited from:
- HeaderModifier
Attributes
- Inherited from:
- HeaderModifier
Attributes
- Inherited from:
- HeaderModifier
Attributes
- Inherited from:
- HeaderModifier
Attributes
- Inherited from:
- HeaderModifier
Attributes
- Inherited from:
- HeaderModifier
Attributes
- Inherited from:
- HeaderModifier
Attributes
- Inherited from:
- HeaderModifier
Attributes
- Inherited from:
- HeaderModifier
Attributes
- Inherited from:
- HeaderModifier
Attributes
- Inherited from:
- HeaderModifier
Attributes
- Inherited from:
- HeaderModifier
Attributes
- Inherited from:
- HeaderModifier
Attributes
- Inherited from:
- HeaderModifier
Attributes
- Inherited from:
- HeaderModifier
Attributes
- Inherited from:
- HeaderModifier
Attributes
- Inherited from:
- HeaderModifier
Attributes
- Inherited from:
- HeaderModifier
Attributes
- Inherited from:
- HeaderModifier
Attributes
- Inherited from:
- HeaderModifier
Attributes
- Inherited from:
- HeaderModifier
Attributes
- Inherited from:
- HeaderModifier
Attributes
- Inherited from:
- HeaderModifier
Attributes
- Inherited from:
- HeaderModifier
Attributes
- Inherited from:
- HeaderModifier
Attributes
- Inherited from:
- HeaderModifier
Attributes
- Inherited from:
- HeaderModifier
Attributes
- Inherited from:
- HeaderModifier
Attributes
- Inherited from:
- HeaderModifier
Attributes
- Inherited from:
- HeaderModifier
Attributes
- Inherited from:
- HeaderModifier
Attributes
- Inherited from:
- HeaderModifier
Attributes
- Inherited from:
- HeaderModifier
Attributes
- Inherited from:
- HeaderModifier