Experimental async transport: your feedback is needed #5919
sentrivana
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hey folks, in version 2.57.0 we're introducing an experimental async transport.
You can opt-in to the feature by installing
httpcore[async]and writing:There's a handful things to keep in mind:
httpcore[async]needs to be installed for the async transport to work.AsyncioIntegrationneeds to be enabled as it handles sending events at shutdown.init()needs to be called when there's an event loop running for the async transport to initialize.await flush_async()instead of the synchronousflush().Questions? Feedback? Let us know via this thread or an issue.
Beta Was this translation helpful? Give feedback.
All reactions