You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First, thanks to the authors for this nice library.
I am currently playing around with it and managed to implement QUIC in an application as an alternative to TCP with TLS using the standard asyncio.start_server and asyncio.open_connection. Everything seems to work fine.
I had some issues figuring out how to run a corouting to process the received data from within the quic_event_received function.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
First, thanks to the authors for this nice library.
I am currently playing around with it and managed to implement QUIC in an application as an alternative to TCP with TLS using the standard
asyncio.start_server
andasyncio.open_connection
. Everything seems to work fine.I had some issues figuring out how to run a corouting to process the received data from within the
quic_event_received
function.What seems to work is something like this:
The
self.transmit()
turned out to be necessary depending on what the actual data processing code was.Is there a better way to do this? Would it be possible to change the
quic_event_received
function to a coroutine so one could simply useawait
?Beta Was this translation helpful? Give feedback.
All reactions