Expand description
Automated Web Server Lifecycle for Dioxuscut.
Provides spawning, health checking, dynamic port allocation, and clean termination for Dioxus web app rendering.
Structs§
- Server
Config - Configuration for launching the web server.
- Server
Handle - Handle to a running server instance, ensuring clean termination on Drop or explicit
.stop().
Enums§
- Serve
Mode - Mode of operation for the web server.
- Server
Error - Errors that can occur during web server lifecycle management.
Functions§
- find_
available_ port - Helper function to find an available local port.
- spawn_
server - Spawn an embedded static web server serving
root_dironport(or dynamic port if 0). - spawn_
server_ with_ config - Spawn a web server with full configuration and perform health check readiness polling.