mirror of
https://github.com/yhirose/cpp-httplib.git
synced 2025-05-14 16:58:30 +00:00
parent
e426a38c3e
commit
cefb5a8822
1 changed files with 1 additions and 1 deletions
|
@ -662,7 +662,7 @@ auto res = cli.Post(
|
||||||
### With Progress Callback
|
### With Progress Callback
|
||||||
|
|
||||||
```cpp
|
```cpp
|
||||||
httplib::Client client(url, port);
|
httplib::Client cli(url, port);
|
||||||
|
|
||||||
// prints: 0 / 000 bytes => 50% complete
|
// prints: 0 / 000 bytes => 50% complete
|
||||||
auto res = cli.Get("/", [](uint64_t len, uint64_t total) {
|
auto res = cli.Get("/", [](uint64_t len, uint64_t total) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue