# -*- coding: utf-8 -*- from .configParser import * from .logger import * from .registry import * from .audio import * from .func import * from .streamParser import * # https://www.cnblogs.com/nanshaobit/p/16060370.html import httpx RETRIES = 3 asyncTransport = httpx.AsyncHTTPTransport(retries=RETRIES, verify=False) httpxAsyncClient = httpx.AsyncClient(timeout=None, transport=asyncTransport) syncTransport = httpx.HTTPTransport(retries=RETRIES, verify=False) httpxSyncClient = httpx.Client(timeout=None, transport=syncTransport)