Home | Trees | Index | Help |
---|
Package tlslite :: Module SessionCache :: Class SessionCache |
|
This class is used by the server to cache TLS sessions.
Caching sessions allows the client to use TLS session resumption and avoid the expense of a full handshake. To use this class, simply pass a SessionCache instance into the server handshake function.
This class is thread-safe.Method Summary | |
---|---|
Create a new SessionCache. | |
__getitem__(self,
sessionID)
| |
__setitem__(self,
sessionID,
session)
|
Method Details |
---|
__init__(self,
maxEntries=10000,
maxAge=14400)
Create a new SessionCache.
|
Home | Trees | Index | Help |
---|
Generated by Epydoc 2.0 on Sun Mar 21 00:04:58 2004 | http://epydoc.sf.net |