Package-level declarations

Types

Link copied to clipboard
class WebRouteBuilder(val use: (WebMiddleware) -> Unit, val handle: (suspend WebContext.() -> Unit) -> Unit)

A builder for defining HTTP routes in the application, providing middleware support and a route handler.

Link copied to clipboard
class WebRouter(val basePath: String)

A router for managing the routing of HTTP requests with various methods (GET, POST, PUT, DELETE, etc.).

Functions

Link copied to clipboard
fun CORSConfig.defaultCorsConfig()

Configures the default CORS (Cross-Origin Resource Sharing) settings for the application.