Skip to content

Commit

Permalink
remove Request level proxy
Browse files Browse the repository at this point in the history
according to go-resty#56  the Request Level Proxy is removed.
  • Loading branch information
wppurking committed Dec 4, 2017
1 parent 13d77a7 commit 1b9bad5
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -452,14 +452,6 @@ resty.SetProxy("http://proxyserver:8888")
// Want to remove proxy setting
resty.RemoveProxy()
```
**Request Level Proxy** settings, gives control to override at individal request level
```go
// Set proxy for current request
resp, err := c.R().
SetProxy("http://sampleproxy:8888").
Get("http://httpbin.org/get")
```

#### Retries

Resty uses [backoff](http://www.awsarchitectureblog.com/2015/03/backoff.html)
Expand Down

0 comments on commit 1b9bad5

Please sign in to comment.