Replies: 1 comment 4 replies
-
Have you taken s look at aiohttp in micropython-lib? |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am trying to establish a connection to a server, and would then like to keep the connection open and read the response line by line, in a non-blocking (
async
) way. The url useshttps://
.So far, I tried to use
requests
, which could work but does not provide an option for line by line reading, and is not async. Looking into the code ofrequest
, I think the line by line reading could be added. However, this still is notasync
.Is there a library that would allow me to do that without having to re-invent the wheel? What I am trying to achieve is something like this (works on "non-micro" python), but as mentioned everything should be async:
Beta Was this translation helpful? Give feedback.
All reactions