Mugen is library for http asynchronous requests.
Only running on python ^3.7
ok, code demo:
import asyncio
import mugen
async def task():
url = 'https://www.google.com'
resp = await mugen.get(url)
print(resp.text)
loop = asyncio.get_event_loop()
loop.run_until_complete(task())
See, Documention.
Mugen is a name from Samurai Champloo (サムライチャンプル, 混沌武士)
- Keep-Alive & Connection Pooling
- DNS cache
- Sessions with Cookie Persistence
- Automatic Decompression
- Automatic Content Decoding
- HTTP(S)/SOCKS5 Proxy Support
- Connection Timeouts