Trait WxApiRequestBuilder
Source pub trait WxApiRequestBuilder {
// Required methods
fn wx_get<'life0, 'async_trait>(
&'life0 self,
url: &'static str,
) -> Pin<Box<dyn Future<Output = SdkResult<RequestBuilder>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn wx_post<'life0, 'async_trait>(
&'life0 self,
url: &'static str,
) -> Pin<Box<dyn Future<Output = SdkResult<RequestBuilder>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}
Expand description
This trait warps two common http request method that wx_get and wx_post with wechat api server.