1
0
mirror of https://github.com/actix/examples synced 2024-11-23 22:41:07 +01:00
examples/security/awc_https
2022-02-02 00:45:49 +00:00
..
src Updated security/awc_https to v4. (#517) 2022-02-02 00:45:49 +00:00
Cargo.toml Updated security/awc_https to v4. (#517) 2022-02-02 00:45:49 +00:00
README.md Updated security/awc_https to v4. (#517) 2022-02-02 00:45:49 +00:00

The goal of this example is to show you how to use the actix-web client (awc) for https related communication. As of actix-web 2.0.0, one must be very careful about setting up https communication. You could use the default awc api without configuring ssl but performance will be severely diminished.

This example downloads a 1MB image from wikipedia.

To run:

curl http://localhost:3000 -o image.jpg