appwrouter_dart library
A router for appwrite cloud functions
Classes
- Appwrouter
- A router for appwrite cloud functions
- AppwrouterRequest
- A class that represents the request object.
- AppwrouterResponse
- A class that represents the response object.
- HandleRequest
- A class for handling the Request in Function
- Initialize
- A class for handling the Middleware in Function
- MatchRoute
- A class for handling property for matching route.
- OnMiddleware
- A property of middleware
- Route
- A route class
- RouteMatchHandler
- A class for handling property for matching route.
- VersionedRoutes
- A class that store all routes version.
Enums
- EventType
- Event type from Appwrite Function triggered by event
- MethodType
- Enumerate the HTTP methods.
- TriggeredType
- TriggeredType enum
Functions
-
initialize(
Initialize initialize) → Future - A method for initialization of the Appwrouter
-
redirect(
dynamic req, {required String path}) → void - Redirects to the specified path.
Typedefs
- RouteHandler = Future Function(HandleRequest handler)
- An Alias name for Function Handler