Browse Source

Update README.md (#1731)

Fix "With Progress Callback" code example
Renato Foot Guimarães Costallat 2 years ago
parent
commit
cefb5a8822
1 changed files with 1 additions and 1 deletions
  1. 1 1
      README.md

+ 1 - 1
README.md

@@ -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) {