class type tls_cache =object
..end
A cache object for storing TLS session data
method set : domain:string ->
port:int -> trans:transport_layer_id -> data:string -> unit
This is called by the client to store a new session in the cache. It is up to the cache for how long the session is remembered.
method get : domain:string ->
port:int -> trans:transport_layer_id -> string
Get a cached session (data string)
method clear : unit -> unit
Clear the cache