Valum.Static
Description:
Utilities to serve static resources.
Content:
Enums:
- ServeFlags - Flags used to enble or disable options for serving static resources.
Functions:
- public HandlerCallback serve_from_file (File root, ServeFlags serve_flags = NONE, ForwardCallback<File> forward = forward)
Serve static files relative to a given root.
- public HandlerCallback serve_from_path (string path, ServeFlags serve_flags = NONE, owned ForwardCallback<File> forward = forward)
- public HandlerCallback serve_from_resource (Resource resource, string prefix = "/", ServeFlags serve_flags = NONE, owned HandlerCallback forward = forward)
Serve files from the provided GLib.Resource bundle.
- public HandlerCallback serve_from_uri (string uri, ServeFlags serve_flags = NONE, owned ForwardCallback<File> forward = forward)