PHPTS:一键免费搭建 Nginx + PHP + MySQL 运行环境

EventBufferEvent::sslGetProtocol

(PECL event >= 1.10.0)

EventBufferEvent::sslGetProtocolReturns the name of the protocol used for current SSL connection

说明

public EventBufferEvent::sslGetProtocol ( void ) : 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.

参数

此函数没有参数。

返回值

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