EventBufferEvent::sslGetProtocol

(PECL event >= 1.10.0)

EventBufferEvent::sslGetProtocolReturns 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.

參數(shù)

此函數(shù)沒有參數(shù)。

返回值

Returns the name of the protocol used for current SSL connection.