Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
imrehorvath committed Dec 19, 2016
1 parent 5c6ad35 commit cece5de
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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\"}");
```

Expand All @@ -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
}
Expand Down

0 comments on commit cece5de

Please sign in to comment.