EventBufferEvent::sslGetProtocol
(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.
注意:
This function is available only if
Event
is compiled with OpenSSL support.
參數
此函式沒有參數。
返回值
Returns the name of the protocol used for current SSL connection.