Home | Trees | Index | Help |
---|
Package tlslite :: Package integration :: Module HTTPTLSConnection :: Class HTTPTLSConnection |
|
HTTPConnection
--+ |HTTPBaseTLSConnection
--+ |ClientHelper
--+ | HTTPTLSConnection
HTTPBaseTLSConnection
to support the common
types of handshaking.
Method Summary | |
---|---|
Create a new HTTPTLSConnection. | |
Called to perform some sort of handshake. | |
Inherited from HTTPBaseTLSConnection | |
Connect to the host and port specified in __init__. | |
Inherited from HTTPConnection | |
Close the connection to the HTTP server. | |
Indicate that the last header line has been sent to the server. | |
Get the response from the server. | |
Send a request header line to the server. | |
Send a request to the server. | |
Send a complete request to the server. | |
Send `str' to the server. | |
| |
Add a line of output to the current request buffer. | |
Send the currently buffered request and clear the buffer. | |
| |
|
Class Variable Summary | |
---|---|
Inherited from HTTPBaseTLSConnection | |
int |
default_port = 443 |
Inherited from HTTPConnection | |
int |
auto_open = 1 |
int |
debuglevel = 0 |
int |
strict = 0 |
int |
_http_vsn = 11 |
str |
_http_vsn_str = 'HTTP/1.1'
|
Method Details |
---|
__init__(self,
host,
port=None,
username=None,
password=None,
sharedKey=None,
certChain=None,
privateKey=None,
cryptoID=None,
protocol=None,
x509Fingerprint=None,
x509TrustList=None,
x509CommonName=None,
settings=None)
|
_handshake(self, tlsConnection)Called to perform some sort of handshake. This method must be overridden in a subclass to do some type of handshake. This method will be called after the socket has been connected but before any data has been sent. If this method does not raise an exception, the TLS connection will be considered valid. This method may (or may not) be called every time an HTTP request is performed, depending on whether the underlying HTTP connection is persistent.
|
Home | Trees | Index | Help |
---|
Generated by Epydoc 2.0 on Mon Feb 21 21:56:54 2005 | http://epydoc.sf.net |