Skip to content

Commit

Permalink
Add link to examples folder in root README.md (#556)
Browse files Browse the repository at this point in the history
  • Loading branch information
dnadoba authored Feb 10, 2022
1 parent 2fc105c commit 7a4dfe0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,10 @@ httpClient.get(url: "https://apple.com/").whenComplete { result in

You should always shut down `HTTPClient` instances you created using `try httpClient.syncShutdown()`. Please note that you must not call `httpClient.syncShutdown` before all requests of the HTTP client have finished, or else the in-flight requests will likely fail because their network connections are interrupted.

### async/await examples

Examples for the async/await API can be found in the [`Examples` folder](./Examples) in this Repository.

## Usage guide

The default HTTP Method is `GET`. In case you need to have more control over the method, or you want to add headers or body, use the `HTTPClientRequest` struct:
Expand Down

0 comments on commit 7a4dfe0

Please sign in to comment.