From cece5de6989768267f20549e22fe207ee0b1914d Mon Sep 17 00:00:00 2001 From: Imre Horvath Date: Mon, 19 Dec 2016 18:25:17 +0100 Subject: [PATCH] Fix typo --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c36ac34..f15efe8 100644 --- a/README.md +++ b/README.md @@ -50,10 +50,10 @@ client.enableInsecure(); __Synchronous requests__ ```c++ -// HTTP GET, call wont return until finished +// HTTP GET, call won't return until finished client.get("https://httpbin.org/headers"); -// HTTP POST a JSON payload, call wont return until finished +// HTTP POST a JSON payload, call won't return until finished client.post("https://httpbin.org/post", "{\"key\":\"value\"}"); ``` @@ -65,6 +65,7 @@ To check whether the async request has completed or not, you can use the followi // HTTP GET, call returns before completion. client.getAsync("https://httpbin.org/headers"); // ... +// Later you can check whether the call has finished if (client.finished()) { // Request has finished }