client: add missing close method

close() is implemented in some of the mixins to dispose of any resources.
pull/25/head
Jan Pochyla 7 years ago
parent c805284a86
commit 3d3c2a29d0

@ -189,6 +189,9 @@ class BaseClient(object):
self.transport = self.connect()
return self.transport
def close(self):
pass
def cancel(self):
self.get_transport().write(proto.Cancel())

Loading…
Cancel
Save