Use an Enum for the ConnectionMode and support specifying it

This commit is contained in:
Lonami Exo
2017-09-04 11:24:10 +02:00
parent 62a52679f4
commit 6f0bd14c2f
6 changed files with 60 additions and 21 deletions

View File

@@ -1,4 +1,4 @@
from .mtproto_plain_sender import MtProtoPlainSender
from .authenticator import do_authentication
from .mtproto_sender import MtProtoSender
from .connection import Connection
from .connection import Connection, ConnectionMode