from ._urls import URL
from ._utils import get_ca_bundle_from_env
+ __all__ = ["Limits", "Proxy", "Timeout", "create_ssl_context"]
+
+SOCKET_OPTION = typing.Union[
+ typing.Tuple[int, int, int],
+ typing.Tuple[int, int, typing.Union[bytes, bytearray]],
+ typing.Tuple[int, int, None, int],
+]
+
DEFAULT_CIPHERS = ":".join(
[
"ECDHE+AESGCM",
T = typing.TypeVar("T", bound="HTTPTransport")
A = typing.TypeVar("A", bound="AsyncHTTPTransport")
-__all__ = ["AsyncHTTPTransport", "HTTPTransport"]
-
+
++__all__ = ["AsyncHTTPTransport", "HTTPTransport"]
++
++
+ SOCKET_OPTION = typing.Union[
+ typing.Tuple[int, int, int],
+ typing.Tuple[int, int, typing.Union[bytes, bytearray]],
+ typing.Tuple[int, int, None, int],
+ ]
+
+
@contextlib.contextmanager
def map_httpcore_exceptions() -> typing.Iterator[None]:
try: