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:
parent
71e27aa623
commit
2444da34be
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user