[#SSL_SESSION_get0_alpn_selected] = SSL_SESSION_get0_alpn_selected :mrdocs: Retrieve the ALPN protocol selected for a session and its length. == Synopsis Declared in `<openssl/ssl.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void SSL_SESSION_get0_alpn_selected( xref:SSL_SESSION.adoc[SSL_SESSION] const* s, unsigned char const** alpn, size_t* len); ---- == Parameters [cols="1,4"] |=== | Name| Description | *s* | Session to query. | *alpn* | On return, set to a pointer to the protocol bytes inside `s` (do not free). | *len* | On return, set to the length of the protocol in bytes. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#