Ë
    òmxiý  ã                   ó0   — d Z ddlmZ d„ Z G d„ de«      Zy)z.gRPC's APIs for TLS Session Resumption supporté    )Úcygrpcc                 ó>   — t        t        j                  | «      «      S )a“  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.
    )ÚSSLSessionCacheÚ_cygrpcÚSSLSessionCacheLRU)Úcapacitys    úV/home/htdocs/ttos/venv/lib/python3.12/site-packages/grpc/experimental/session_cache.pyÚssl_session_cache_lrur
      s   € ô œ7×5Ñ5°hÓ?Ó@Ð@ó    c                   ó   — e Zd ZdZd„ Zd„ Zy)r   zµ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
    c                 ó   — || _         y ©N)Ú_cache)ÚselfÚcaches     r	   Ú__init__zSSLSessionCache.__init__)   s	   € Øˆ�r   c                 ó,   — t        | j                  «      S r   )Úintr   )r   s    r	   Ú__int__zSSLSessionCache.__int__,   s   € Ü�4—;‘;ÓÐr   N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   r   © r   r	   r   r   "   s   „ ñòó r   r   N)r   Úgrpc._cythonr   r   r
   Úobjectr   r   r   r	   ú<module>r      s   ðñ 5å *òAô �fõ  r   