1
0
mirror of https://github.com/actix/examples synced 2025-01-22 22:05:57 +01:00

8 lines
392 B
Markdown
Raw Normal View History

2023-05-22 14:21:48 +01:00
# HTTPS Client
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.
2020-03-01 08:55:00 -05:00
2022-02-02 01:17:10 +00:00
It uses best practices for efficient client set up and demonstrates how to increase the default payload limit.
2020-03-01 08:55:00 -05:00
2022-02-02 01:17:10 +00: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.