Update README.md (#1731)

Fix "With Progress Callback" code example
This commit is contained in:
Renato Foot Guimarães Costallat 2023-12-08 01:21:59 -03:00 committed by GitHub
parent e426a38c3e
commit cefb5a8822
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -662,7 +662,7 @@ auto res = cli.Post(
### With Progress Callback
```cpp
httplib::Client client(url, port);
httplib::Client cli(url, port);
// prints: 0 / 000 bytes => 50% complete
auto res = cli.Get("/", [](uint64_t len, uint64_t total) {