Experimental HTTP and HTTPS library for mbed OS 5
Diff: README.md
- Revision:
- 22:71fc1b1894f8
- Parent:
- 19:a5371b71de6f
- Child:
- 24:6c1651fd26b9
--- a/README.md Thu Dec 14 16:19:22 2017 +0700 +++ b/README.md Wed Jan 03 11:23:22 2018 +0000 @@ -61,8 +61,8 @@ // do something with the data } -HttpRequest* req = new HttpRequest(network, HTTP_GET, "http://pathtolargefile.com"); -req->send(NULL, 0, body_callback); +HttpRequest* req = new HttpRequest(network, HTTP_GET, "http://pathtolargefile.com", &body_callback); +req->send(NULL, 0); ``` ## Socket re-use