]> git.proxmox.com Git - proxmox.git/commit
rest-server: support configuring the privileged connection
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Thu, 9 Mar 2023 14:50:55 +0000 (15:50 +0100)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Thu, 1 Feb 2024 13:00:22 +0000 (14:00 +0100)
commit2bba40f604ad77d19a0f6de6f5c2f8aeb0489834
treed61a9b25ba89c0ee80ca1d47ad512f61c17d1d4e
parentaad01f7a90d9a65f330f84f0ee5a3453725c00b2
rest-server: support configuring the privileged connection

Adds a privileged_addr to ApiConfig, and some helpers for
hyper (both server and client)

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Reviewed-by: Lukas Wagner <l.wagner@proxmox.com>
proxmox-rest-server/src/api_config.rs
proxmox-rest-server/src/lib.rs
proxmox-rest-server/src/rest.rs