1
0
mirror of https://github.com/actix/examples synced 2024-12-05 03:01:55 +01:00
examples/security/awc_https
2022-02-02 01:45:20 +00:00
..
src improve awc_http example 2022-02-02 01:17:10 +00:00
Cargo.toml all versions are 1.0 2022-02-02 01:45:20 +00:00
README.md improve awc_http example 2022-02-02 01:17:10 +00:00

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.