Module rustls_ffi::session[][src]

Type Definitions

Prototype of a callback that can be installed by the application at the rustls_server_config or rustls_client_config. This callback will be invoked by a TLS session when looking up the data for a TLS session id. userdata will be supplied based on rustls_{client,server}_session_set_userdata.

Prototype of a callback that can be installed by the application at the rustls_server_config or rustls_client_config. This callback will be invoked by a TLS session when a TLS session has been created and an id for later use is handed to the client/has been received from the server. userdata will be supplied based on rustls_{client,server}_session_set_userdata.

Any context information the callback will receive when invoked.