Builds a request towards the `Client`'s endpoint
(
&self,
method: Method,
path: P,
query: Option<&[(&str, &str)]>,
)
| 50 | impl Client { |
| 51 | /// Builds a request towards the `Client`'s endpoint |
| 52 | async fn build_global_request<P>( |
| 53 | &self, |
| 54 | method: Method, |
| 55 | path: P, |
| 56 | query: Option<&[(&str, &str)]>, |
| 57 | ) -> Result<RequestBuilder, Error> |
| 58 | where |
| 59 | P: IntoIterator, |
| 60 | P::Item: AsRef<str>, |
| 61 | { |
| 62 | self.build_request(method, path, query, self.endpoint.clone(), None) |
| 63 | .await |
| 64 | } |
| 65 | |
| 66 | /// Builds a request towards the `Client`'s endpoint |
| 67 | /// The function requires a [CloudProvider] as parameter |
no test coverage detected