src/server/rest.rs: make handle_(a)sync_api_request public

This commit is contained in:
Dietmar Maurer 2019-05-07 11:23:52 +02:00
parent 75097495ad
commit 78f7e225e4
1 changed files with 2 additions and 2 deletions

View File

@ -223,7 +223,7 @@ fn proxy_protected_request(
return Box::new(resp);
}
fn handle_sync_api_request(
pub fn handle_sync_api_request(
mut rpcenv: RestEnvironment,
info: &'static ApiMethod,
formatter: &'static OutputFormatter,
@ -263,7 +263,7 @@ fn handle_sync_api_request(
Box::new(resp)
}
fn handle_async_api_request(
pub fn handle_async_api_request(
mut rpcenv: RestEnvironment,
info: &'static ApiAsyncMethod,
formatter: &'static OutputFormatter,