pub struct HttpClient { /* private fields */ }Expand description
HTTP客户端,处理腾讯云API请求
Implementations§
Source§impl HttpClient
impl HttpClient
Sourcepub async fn send_request<T>(&self, signature_info: SignatureInfo) -> Result<T>where
T: DeserializeOwned,
pub async fn send_request<T>(&self, signature_info: SignatureInfo) -> Result<T>where
T: DeserializeOwned,
发送请求并解析响应
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for HttpClient
impl !UnwindSafe for HttpClient
impl Freeze for HttpClient
impl Send for HttpClient
impl Sync for HttpClient
impl Unpin for HttpClient
impl UnsafeUnpin for HttpClient
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more