Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add examples showing how to apply rate limiting #2511

Open
3 tasks
catbrained opened this issue Dec 29, 2024 · 0 comments
Open
3 tasks

Add examples showing how to apply rate limiting #2511

catbrained opened this issue Dec 29, 2024 · 0 comments

Comments

@catbrained
Copy link

Rate limiting seems like a common use case, so it might be useful to add some simple examples that demonstrate how to apply it to a client.

Some scenarios:

  • How to apply a global rate limit to an entire client
  • How to apply a rate limit to connection establishment using connector_layer()
  • How to apply different rate limits to different routes or hosts

(The last one might be a more involved example.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant