wa_route library

Classes

ApiBodyField<T>
Creates an instance of ApiParameter.
ApiDoc
Represents the documentation for an API endpoint in OpenAPI/Swagger format.
ApiParameter<T>
Represents a parameter used in an API request.
ApiResponse<T>
Represents a field in the body of an API request.
Asset
Represents an asset (like JS or CSS) in the web application.
AssetManager
Manages the assets for a web request, including JavaScript, CSS, and data.
Authorization
Represents an authorization scheme used for authentication.
IncludeJsController
A controller responsible for injecting JavaScript for client-side operations.
Permissions
The Permissions class provides a set of predefined constants representing user permission levels.
RequestMethods
A utility class that provides constants and predefined lists for various HTTP request methods.
Route
A class that handles route management and request processing for a web application.
RouteRepos
An abstract class defining the interface for route repositories.
WaApiController
The WaApiController class is responsible for managing API routes and generating OpenAPI documentation for the API.
WaAuthController<T>
The WaAuthController is an abstract class that defines authentication and authorization methods for a web application.
WaController
A base class for controllers in the web application.
WaService
Represents a basic service in the application.
WebRequest
The WebRequest class handles HTTP requests and provides various methods for processing, routing, and responding to client requests. It includes methods for parsing request data, managing sessions, handling cookies, rendering views, redirecting, and more.
WebRoute
Represents a route in the web application, including path configurations, methods, controllers, and authorization details.

Enums

AssetCache
Enum representing the cache policy for assets.
AssetType
Enum representing the type of asset (JS, CSS, or none).
AuthType
Enumeration representing different types of authorization schemes.
ParamIn
Enumeration representing the possible locations for a parameter in an API request.