dartvel_backend library

Classes

Body
CorsOptions
CORS options.
DVBackendCron
Annotation for a Backend Cron Job
DVBackendFunction
Annotation for a Dartvel Backend Function
Headers
Request
Res
Response
Router
ServerHandle
Server handle for builds where the native FFI server is not linked.
TlsConfig
TLS configuration.
URLPattern

Functions

serve(Future<Response> handler(Request), {String host = '127.0.0.1', int port = 8080, TlsConfig? tls, bool h2c = false, CorsOptions? cors, String? staticDir, String? spaRoot, bool compression = true}) Future<ServerHandle>
Serves the handler configuration.