Go to the source code of this file.
◆ lws_tls_session_dump
struct lws_tls_session_dump |
◆ LWS_SESSION_TAG_LEN
#define LWS_SESSION_TAG_LEN 96 |
◆ lws_tls_sess_cb_t
◆ lws_tls_session_dump_save()
lws_tls_session_dump_save() - serialize a tls session via a callback
- Parameters
-
vh | the vhost to load into the session cache |
host | the name of the host the session relates to |
port | the port the session connects to on the host |
cb_save | the callback to perform the saving of the session blob |
opq | an opaque pointer passed into the callback |
If a session matching the vhost/host/port exists in the vhost's session cache, serialize it via the provided callback.
opq
is passed to the callback without being used by lws at all.
◆ lws_tls_session_dump_load()
lws_tls_session_dump_load() - deserialize a tls session via a callback
- Parameters
-
vh | the vhost to load into the session cache |
host | the name of the host the session relates to |
port | the port the session connects to on the host |
cb_load | the callback to retreive the session blob from |
opq | an opaque pointer passed into the callback |
Try to preload a session described by the first three parameters into the client session cache, from the given callback.
opq
is passed to the callback without being used by lws at all.