The ClientConfig class contains a low-level API which closely follows the Tor Proposal 180: Pluggable transports for circumvention.
This class inherits from pyptlib.config.Config and contains just the parts of the API which are specific to the client implementations of the protocol.
"""
"""
# Public methods
def__init__(self):# throws EnvError
"""
Initialize the ClientConfig object.
This causes the state location, managed transport, and transports version to be set.
Initialize the ClientConfig object.
This causes the state location, managed transport, and transports version to be set.
"""
Config.__init__(self)
...
...
@@ -49,8 +49,8 @@ class ClientConfig(Config):
optArgs,
):
"""
Write a message to stdout specifying a supported transport
Takes: str, int, (str, int), [str], [str]
Write a message to stdout specifying a supported transport
The ServerConfig class contains a low-level API which closely follows the Tor Proposal 180: Pluggable transports for circumvention.
This class inherits from pyptlib.config.Config and contains just the parts of the API which are specific to the client implementations of the protocol.