Home | Trees | Indices | Help |
---|
|
1 # -*- coding: utf-8 - 2 # 3 # This file is part of restkit released under the MIT license. 4 # See the NOTICE for more information. 5 6 import copy 7 import socket 8 9 from restkit.util import sock 10123915 self.conn_manager = conn_manager 16 self.filters = copy.copy(filters) 17 self.addr = addr 18 self.is_ssl = is_ssl 19 self.timeout = timeout 20 self.ssl_args = ssl_args or {} 21 self.headers = [] 22 self.params = {} 23 self.sock = None 24 self.connect()2527 self.filters.apply("on_connect", self) 28 29 self.sock = sock.connect(self.addr, self.is_ssl, 30 self.timeout, **self.ssl_args)31 32 3335 return self.sock36
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Thu Nov 25 19:07:45 2010 | http://epydoc.sourceforge.net |