mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-09 05:19:41 +00:00
Completely overhaul connections and transports
Reduce abstraction leaks. Now the transport can hold any state, rather than just the tag. It's also responsible to initialize on the first connection, and they can be cleanly reset. asyncio connections are no longer used, in favour of raw sockets, which should avoid some annoyances. For the time being, more obscure transport modes have been removed, as well as proxy support, until further cleaning is done.
This commit is contained in:
@@ -10,7 +10,6 @@ from . import (
|
||||
)
|
||||
from .. import version, _tl
|
||||
from ..types import _custom
|
||||
from .._network import ConnectionTcpFull
|
||||
from .._events.common import EventBuilder, EventCommon
|
||||
from .._misc import enums
|
||||
|
||||
|
Reference in New Issue
Block a user