From 884851cdeb59305b88300e9110500cbb15b51dc2 Mon Sep 17 00:00:00 2001 From: jaspervdm Date: Wed, 15 May 2019 15:23:16 +0200 Subject: [PATCH] Modifiy visibility for request functions (#2826) --- api/src/client.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/src/client.rs b/api/src/client.rs index fb3b6b476..44a1a9c2a 100644 --- a/api/src/client.rs +++ b/api/src/client.rs @@ -156,7 +156,7 @@ fn build_request<'a>( }) } -fn create_post_request( +pub fn create_post_request( url: &str, api_secret: Option, input: &IN, @@ -223,7 +223,7 @@ fn send_request_async(req: Request) -> Box) -> Result { +pub fn send_request(req: Request) -> Result { let task = send_request_async(req); let mut rt = Runtime::new().context(ErrorKind::Internal("can't create Tokio runtime".to_owned()))?;