PyDocs

Nav

Networking and Interprocess Communication

SSLContext.session_stats

ssl

method of SSLContextnot WASI
  • SSLContext.session_stats()
Get statistics about the SSL sessions created or managed by this context. A dictionary is returned which maps the names of each piece of information to their numeric values. For example, here is the total number of hits and misses in the session cache since the context was created:
1 Example
>>> stats = context.session_stats()
>>> stats['hits'], stats['misses']
(0, 0)
from the Python docs
See Also
No see-alsos for ssl/SSLContext.session_stats
0 Notes
No notes for SSLContext.session_stats