structio/tests/httpcore_test.py

11 lines
174 B
Python

import httpcore
import structio
async def main():
pool = httpcore.AsyncConnectionPool()
print(await pool.request("GET", "http://example.com"))
structio.run(main)