Closed
Description
Patch: urequests.zip
Attachment includes both before/after scripts of the current version of urequests as well as a diff.patch
file
This also includes a copy of this with the patch applied for issue #546
Using this test code shows my uasyncio urequests patch works
import uasyncio_urequests as urequests
import uasyncio
# [insert code to connect to network here]
async def test():
while True:
print("testing")
await uasyncio.sleep(1)
uasyncio.create_task(test())
async def main():
while True:
r=await urequests.get("http://10.0.0.75/temp.json")
print(r.status_code,r.content)
#await uasyncio.sleep(3)
uasyncio.run(main())
Metadata
Metadata
Assignees
Labels
No labels