l.s.t.SafeTransportWithTimeout(SafeTransport) : class documentation

Part of lp.services.timeout View In Hierarchy

Create a HTTPS transport for XMLRPC with timeouts.
Method __init__ Undocumented
Method make_connection Create the connection for the transport and save it.
Method request Make the request but using the with_timeout decorator.
Method cleanup In the event of a timeout cleanup by closing the connection.
def __init__(self, timeout=None, **kwargs):
Undocumented
def make_connection(self, host):
Create the connection for the transport and save it.
@with_timeout('cleanup', self.timeout)
def request(self, host, handler, request_body, verbose=0):
Make the request but using the with_timeout decorator.
def cleanup(self):
In the event of a timeout cleanup by closing the connection.
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.