(PECL event >= 1.10.0)
EventBufferEvent::sslGetProtocol — Returns the name of the protocol used for current SSL connection
public EventBufferEvent::sslGetProtocol ( ) : string
Returns the name of the protocol used for current SSL connection.
Note:
This function is available only if
Event
is compiled with OpenSSL support.
This function has no parameters.
Returns the name of the protocol used for current SSL connection.
© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/eventbufferevent.sslgetprotocol.php