Package-level declarations
Types
Link copied to clipboard
A Middleware that uses coroutines. Extending the class removes the boilerplate to manage coroutines inside the service.
Link copied to clipboard
A generic interface representing a middleware component that can be attached and detached.
Link copied to clipboard
interface MiddlewareContext
Represents a middleware context that provides shared components and dependencies required by various middleware components.
Link copied to clipboard
Link copied to clipboard
An abstract class for managing multiple middleware instances.
Link copied to clipboard
Represents a provider of middleware with a unique key.
Link copied to clipboard
This registry allows you to keep track of multiple middleware and multiple contexts. It defines a single level hierarchy where there is the parent context, and optional children contexts.
Link copied to clipboard
abstract class MiddlewareSwitcher<C : MiddlewareContext, M : Middleware<C>>(default: M) : CoroutineMiddleware<C>
A Middleware that can switch between different Middleware instances.