twirpy icon indicating copy to clipboard operation
twirpy copied to clipboard

Async Client support

Open essnine opened this issue 2 years ago • 1 comments

Hi! I've been using this package for a bit, and for performance reasons I've had to create a modified TwirpClient that makes http requests using aiohttp instead of requests, so that ASGI apps can use the clients to make calls in a non-blocking way. Would you be open to adding such a class if a PR was raised?

essnine avatar Sep 04 '22 05:09 essnine

Hi @essnine - I forgot to look at open issues first, but opened this PR earlier this week. Since it seems you've also been thinking about this, please let me know if you have any feedback or suggestions for improvement. Thanks!

chadawagner avatar Aug 12 '23 00:08 chadawagner