Package M2Crypto :: Module httpslib :: Class HTTPSConnection
[frames] | no frames]

Class HTTPSConnection




This class allows communication via SSL using M2Crypto.

Nested Classes

Inherited from httplib.HTTPConnection: response_class

Instance Methods
 
__init__(self, host, port=None, strict=None, **ssl)
 
connect(self)
Connect to the host and port specified in __init__.
 
close(self)
Close the connection to the HTTP server.
 
get_session(self)
 
set_session(self, session)

Inherited from httplib.HTTPConnection: endheaders, getresponse, putheader, putrequest, request, send, set_debuglevel

Class Variables
  default_port = 443

Inherited from httplib.HTTPConnection: auto_open, debuglevel, strict

Method Details

__init__(self, host, port=None, strict=None, **ssl)
(Constructor)

 
Overrides: httplib.HTTPConnection.__init__

connect(self)

 

Connect to the host and port specified in __init__.

Overrides: httplib.HTTPConnection.connect
(inherited documentation)

close(self)

 

Close the connection to the HTTP server.

Overrides: httplib.HTTPConnection.close
(inherited documentation)