added sync method for perform_request_without_client
This commit is contained in:
parent
a9b5f28d3e
commit
e6780761e9
@ -107,7 +107,7 @@ pub async fn perform_request_without_client<B: Serialize, R: DeserializeOwned>(
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
/// Same as function above but blocking
|
/// Same as function above but blocking
|
||||||
pub async fn perform_request_without_client_sync<B: Serialize, R: DeserializeOwned>(
|
pub fn perform_request_without_client_sync<B: Serialize, R: DeserializeOwned>(
|
||||||
base_url: String,
|
base_url: String,
|
||||||
method: reqwest::Method,
|
method: reqwest::Method,
|
||||||
path: String,
|
path: String,
|
||||||
|
Loading…
Reference in New Issue
Block a user