Skip to content

Commit

Permalink
feat: add documentation for ProxyRotateCount config
Browse files Browse the repository at this point in the history
  • Loading branch information
presbrey committed Aug 9, 2024
1 parent 3faa6e1 commit 5b413f8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ func main() {
RequestTimeout: 1 * time.Minute,
RetryAttempts: 3,
RetryDelay: 5 * time.Second,
ProxyRotateCount: 10,
}

client, err := multiproxy.NewClient(config)
Expand Down Expand Up @@ -89,6 +90,7 @@ The `Config` struct allows you to customize the behavior of the MultiProxy Clien
- `RetryAttempts`: Number of times to retry a failed request
- `RetryDelay`: Delay between retry attempts
- `UserAgents`: List of User-Agent strings to rotate through
- `ProxyRotateCount`: Number of requests after which to rotate to the next proxy

## Testing

Expand Down

0 comments on commit 5b413f8

Please sign in to comment.