1
0
mirror of https://github.com/actix/examples synced 2024-11-23 14:31:07 +01:00
examples/https-tls/awc-https
2023-01-02 20:33:43 +00:00
..
src fmt 2022-02-18 02:44:02 +00:00
Cargo.toml move a couple more things to workspace deps 2023-01-02 20:33:43 +00:00
README.md standardize binary names 2022-02-18 02:22:58 +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.