# EventBufferEvent::sslGetCipherVersion

(PECL event >= 1.10.0)

EventBufferEvent::sslGetCipherVersion — Returns version of cipher used by current SSL connection

### 说明

public EventBufferEvent::sslGetCipherVersion(): string

Retrieves version of cipher used by current SSL connection.

> 注意:

> This function is available only if `Event` is compiled with OpenSSL support.

### 参数

此函数没有参数。

### 返回值

Returns the current cipher version of the SSL connection, or `false` on error.

`↑` and `↓` to navigate • `Enter` to select • `Esc` to close • `/` to open