(PECL event >= 1.10.0)
EventBufferEvent::sslGetProtocol — Returns the name of the protocol used for current SSL connection
Returns the name of the protocol used for current SSL connection.
Note:
This function is available only if
Event
is compiled with OpenSSL support.
此函数没有参数。
Returns the name of the protocol used for current SSL connection.