1
0
mirror of https://github.com/actix/examples synced 2024-11-30 17:14:35 +01:00
examples/https-tls/awc-https
2023-08-29 18:56:00 +01:00
..
src fix: remaining upgrade issues 2023-08-29 18:56:00 +01:00
Cargo.toml use rustls v0.21 2023-08-29 18:28:15 +01:00
README.md better HTTPS readmes 2023-05-22 14:21:48 +01:00

HTTPS Client

The goal of this example is to show you how to use the awc for secure HTTPS communication using Rustls.

It uses best practices for efficient client set up and demonstrates how to increase the default payload limit.

This example downloads a 10MB image from Wikipedia when hitting a server route. cargo run this example and go to http://localhost:8080/ in your browser.