gql icon indicating copy to clipboard operation
gql copied to clipboard

HTTPX Transport

Open nihaals opened this issue 5 years ago • 3 comments

HTTPX is a HTTP library for Python which supports both sync and async requests. A big advantage of HTTPX is that it supports Trio (as well as asyncio), something not available with the current AIOHTTP Transport

nihaals avatar Oct 20 '20 19:10 nihaals

The important part is documented at https://www.python-httpx.org/async/#supported-async-environments

Would be great to include another transport that make use of Trio, however I am a bit worried by the amount of packages being installed to use this library as stated at #147.

KingDarBoja avatar Oct 24 '20 17:10 KingDarBoja

Should this be marked as blocked by #147? I do agree that this issue should be solved first but it shouldn't be too hard to find a solution

nihaals avatar Oct 24 '20 17:10 nihaals

No need to be blocked, this can be added into the library and later see if we can solve the optional dependencies.

KingDarBoja avatar Oct 24 '20 17:10 KingDarBoja