Returns the name of the protocol used for current SSL connection

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.

參數

此函式沒有參數。

返回值

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

發佈留言

發佈留言必須填寫的電子郵件地址不會公開。 必填欄位標示為 *