move src/server/h2service.rs into proxmox-rest-server crate

This commit is contained in:
Dietmar Maurer
2021-09-23 12:38:09 +02:00
parent ae18c436dd
commit f7348a23cd
6 changed files with 11 additions and 18 deletions

View 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,