Package-level declarations

Types

Link copied to clipboard

A simple logging middleware that logs the HTTP method and URI of each incoming request. It is an example of a custom middleware that can be used in a Ktor application. This middleware logs the HTTP method and URI to the console and then proceeds to the next middleware/handler.

Link copied to clipboard
fun interface WebMiddleware

Defines a WebMiddleware interface used for handling HTTP requests in a Ktor application. Middleware allows modifying the request/response pipeline or adding custom behavior for specific routes.