Skip to content

Commit

Permalink
Fixes #17 add some docs re client re-use
Browse files Browse the repository at this point in the history
  • Loading branch information
tleyden committed Apr 25, 2014
1 parent daccf73 commit fab956f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Expand Up @@ -34,6 +34,8 @@ if err != nil {
defer resp.Body.Close()
```

*Note:* you will want to re-use a single client object rather than creating one for each request, otherwise you will end up [leaking connections](https://code.google.com/p/go/issues/detail?id=4049#c3).

### Reference Docs

For API docs see [godoc](http://godoc.org/github.com/mreiferson/go-httpclient).

0 comments on commit fab956f

Please sign in to comment.