Module livekit.agents.utils.http_context

Functions

def http_session() ‑> aiohttp.client.ClientSession

Optional utility function to avoid having to manually manage an aiohttp.ClientSession lifetime. On job processes, this http session will be bound to the main event loop.