sunnysab/blog

Actix-web::Client (awc) 基于 rustls 使用 HTTPS | Coding的痕迹

Opened this issue · 0 comments

https://sunnysab.cn/2020/04/05/Actix-Web-Client-Using-HTTPS/

和使用 http 类似,测试代码可以这样写: 12345678910111213use actix_web::client::Client;#[actix_rt::main]async fn main() { let mut client = Client::default(); // Create request builder and send request le