1
0
mirror of https://github.com/actix/examples synced 2024-12-18 08:23:10 +01:00
examples/https-tls/awc-https/README.md

8 lines
392 B
Markdown
Raw Normal View History

2023-05-22 15:21:48 +02:00
# HTTPS Client
2022-02-02 02:17:10 +01:00
The goal of this example is to show you how to use the `awc` for secure HTTPS communication using Rustls.
2020-03-01 14:55:00 +01:00
2022-02-02 02:17:10 +01:00
It uses best practices for efficient client set up and demonstrates how to increase the default payload limit.
2020-03-01 14:55:00 +01:00
2022-02-02 02:17:10 +01:00
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.