php8.5
Home/ Manual/ event / eventbufferevent/ EventBufferEvent::sslGetProtocol

EventBufferEvent::sslGetProtocol

PHP function Edit on GitHub ✎

(PECL event >= 1.10.0)

Returns the name of the protocol used for current SSL connection

Description

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

Parameters Parameters

Return Values

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

Source: reference/event/eventbufferevent/sslgetprotocol.xml · from the official PHP manual (php/doc-en)