grpc.experimental package¶
Submodules¶
grpc.experimental.gevent module¶
gRPC’s Python gEvent APIs.
grpc.experimental.session_cache module¶
gRPC’s APIs for TLS Session Resumption support
-
class
grpc.experimental.session_cache.
SSLSessionCache
(cache)[source]¶ Bases:
object
An encapsulation of a session cache used for TLS session resumption.
Instances of this class can be passed to a Channel as values for the grpc.ssl_session_cache option
-
grpc.experimental.session_cache.
ssl_session_cache_lru
(capacity)[source]¶ Creates an SSLSessionCache with LRU replacement policy
Parameters: 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.
Module contents¶
gRPC’s experimental APIs.
These APIs are subject to be removed during any minor version release.