Fix #139. Content receiver support

This commit is contained in:
yhirose committed 2019-07-17 22:00:18 -04:00
1 parent 31cdadc4b1
commit 6f663028e9
3 files changed
+204 -32

No files matched your search

+9
View File
@@ -114,6 +114,15 @@ int main(void)
}
```
### GET with Content Receiver
```c++
std::string body;
auto res = cli.Get("/large-data", [&](const char *data, size_t len) {
body.append(data, len);
});
```
### POST
```c++