aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/tls/tls_client.h
diff options
context:
space:
mode:
authorRenĂ© Korthaus <[email protected]>2016-10-18 09:54:45 +0200
committerRenĂ© Korthaus <[email protected]>2016-10-19 09:13:36 +0200
commit47532b63e947e020df15a03d91f9d67657cd11dd (patch)
tree38adf81ddad33192a13df060d24b3a0c7f2aab4d /src/lib/tls/tls_client.h
parent446f2a0289cca0de11e748e73071a39c06940239 (diff)
Improve tls doxygen [ci skip]
Diffstat (limited to 'src/lib/tls/tls_client.h')
-rw-r--r--src/lib/tls/tls_client.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/tls/tls_client.h b/src/lib/tls/tls_client.h
index 09af053af..1b67a1022 100644
--- a/src/lib/tls/tls_client.h
+++ b/src/lib/tls/tls_client.h
@@ -127,6 +127,9 @@ class BOTAN_DLL Client final : public Channel
const std::vector<std::string>& next_protocols = {}
);
+ /**
+ * @return network protocol as advertised by the TLS server, if server sent the ALPN extension
+ */
const std::string& application_protocol() const { return m_application_protocol; }
private:
void init(const Protocol_Version& protocol_version,