1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45
|
API Reference
=============
.. autodata:: aiohappyeyeballs.AddrInfoType
A tuple representing socket address information.
Indexes:
**[0]** ``Union[int, socket.AddressFamily]``
The address family, e.g. ``socket.AF_INET``
**[1]** ``Union[int, socket.SocketKind]``
The type of socket, e.g. ``socket.SOCK_STREAM``.
**[2]** ``int``
The protocol number, e.g. ``socket.IPPROTO_TCP``.
**[3]** ``str``
The canonical name of the address, e.g. ``"www.example.com"``.
**[4]** ``Tuple``
The socket address tuple, e.g. ``("127.0.0.1", 443)``.
.. autodata:: aiohappyeyeballs.SocketFactoryType
A callable that creates a socket from an ``AddrInfoType``.
:param AddrInfoType: Address info for creating the socket containing
the address family, socket type, protocol, host address, and
additional details.
:rtype: ``socket.socket``
.. automodule:: aiohappyeyeballs
:members:
:undoc-members:
:show-inheritance:
|