Better API names

This commit is contained in:
yhirose committed 2019-12-13 06:56:00 -05:00
1 parent afd6d5f9dc
commit 72b20c08da
3 files changed
+18 -18

No files matched your search

+2 -2
View File
@@ -387,7 +387,7 @@ httplib::Client cli("yahoo.com");
auto res = cli.Get("/");
res->status; // 301
cli.follow_location(true);
cli.set_follow_location(true);
res = cli.Get("/");
res->status; // 200
```
@@ -426,7 +426,7 @@ The server applies gzip compression to the following MIME type contents:
### Compress content on client
```c++
cli.compress(true);
cli.set_compress(true);
res = cli.Post("/resource/foo", "...", "text/plain");
```