forked from proxmox-mirrors/proxmox
![]() Instead of a ServerAdapter for the index page and authentication checking (which don't relate to each other), provide a `.with_auth_handler` and `.with_index_handler` builder for ApiConfig separately. Both are optional. Without an index handler, it'll produce a 404. Without an auth handler, an `AuthError::NoData` is returned. Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com> |
||
---|---|---|
.. | ||
api_config.rs | ||
command_socket.rs | ||
compression.rs | ||
daemon.rs | ||
environment.rs | ||
file_logger.rs | ||
formatter.rs | ||
h2service.rs | ||
lib.rs | ||
rest.rs | ||
state.rs | ||
worker_task.rs |