Allow retrieving the version string from early callback
This commit is contained in:
parent
6baba64eec
commit
d147f155a4
|
|
@ -1788,6 +1788,11 @@ impl ClientHello {
|
||||||
pub fn servername(&self, type_: NameType) -> Option<&str> {
|
pub fn servername(&self, type_: NameType) -> Option<&str> {
|
||||||
self.ssl().servername(type_)
|
self.ssl().servername(type_)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// Returns a string describing the protocol version of the session.
|
||||||
|
pub fn version_str(&self) -> &'static str {
|
||||||
|
self.ssl().version_str()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Information about a cipher.
|
/// Information about a cipher.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue