1
0
mirror of https://github.com/actix/examples synced 2024-11-27 16:02:57 +01:00

Update awc_https/src/main.rs

Co-Authored-By: Yuki Okushi <huyuumi.dev@gmail.com>
This commit is contained in:
Darin 2020-03-01 13:16:57 -05:00 committed by GitHub
parent 71e27aa623
commit 2444da34be
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,5 +1,5 @@
use actix_web::{web, App, HttpRequest, HttpResponse, HttpServer, client::{Client, Connector}}; use actix_web::{web, App, HttpRequest, HttpResponse, HttpServer, client::{Client, Connector}};
use openssl::ssl::{SslConnector, SslMethod, SslVerifyMode}; use openssl::ssl::{SslConnector, SslMethod};
async fn index(req: HttpRequest) -> HttpResponse { async fn index(req: HttpRequest) -> HttpResponse {