We can easily create a persistent session using:
s = requests.Session()
But how to achieve this using httpx library?
async with httpx.AsyncClient() as client:
response = await client.get(
URL,
params=params,
)
Something like this
with httpx.Client() as client:
r = client.get('https://example.com')