Package Halberd :: Module clientlib :: Class HTTPSClient
[hide private]
[frames] | no frames]

Class HTTPSClient

source code

HTTPClient --+
             |
            HTTPSClient

Special-purpose HTTPS client.

Instance Methods [hide private]
 
__init__(self)
Initializes the object.
source code
 
_connect(self, addr)
Connect to the target web server.
source code
 
_sendAll(self, data)
Sends a string to the socket.
source code

Inherited from HTTPClient: __del__, getHeaders

Instance Variables [hide private]

Inherited from HTTPClient: bufsize, template, timeout

Inherited from HTTPClient (private): _recv

Method Details [hide private]

__init__(self)
(Constructor)

source code 

Initializes the object.

Overrides: HTTPClient.__init__
(inherited documentation)

_connect(self, addr)

source code 

Connect to the target web server.

Parameters:
  • addr (tuple) - The target's address.
Raises:
  • HTTPSError - In case there's some mistake during the SSL negotiation.
Overrides: HTTPClient._connect

_sendAll(self, data)

source code 

Sends a string to the socket.

Overrides: HTTPClient._sendAll