Classes | Functions
grpc.experimental.session_cache Namespace Reference

Classes

class  SSLSessionCache
 

Functions

def ssl_session_cache_lru (capacity)
 

Function Documentation

◆ ssl_session_cache_lru()

def grpc.experimental.session_cache.ssl_session_cache_lru (   capacity)
Creates an SSLSessionCache with LRU replacement policy

Args:
  capacity: Size of the cache

Returns:
  An SSLSessionCache with LRU replacement policy that can be passed as a value for
  the grpc.ssl_session_cache option to a grpc.Channel. SSL session caches are used
  to store session tickets, which clients can present to resume previous TLS sessions
  with a server.

Definition at line 19 of file session_cache.py.



grpc
Author(s):
autogenerated on Fri May 16 2025 03:03:32