]> git.proxmox.com Git - proxmox-backup.git/blobdiff - proxmox-rest-server/src/rest.rs
move src/server/h2service.rs into proxmox-rest-server crate
[proxmox-backup.git] / proxmox-rest-server / src / rest.rs
index dde47b557e60742b9569c6a850c6ddc5858f7b9d..929e40434e902ef8f69ab8b790f77108f119f11d 100644 (file)
@@ -388,7 +388,7 @@ async fn proxy_protected_request(
     Ok(resp)
 }
 
-pub async fn handle_api_request<Env: RpcEnvironment, S: 'static + BuildHasher + Send>(
+pub(crate) async fn handle_api_request<Env: RpcEnvironment, S: 'static + BuildHasher + Send>(
     mut rpcenv: Env,
     info: &'static ApiMethod,
     formatter: &'static OutputFormatter,