EventBufferEvent::sslFilter

Create a new SSL buffer event to send its data over another buffer event

&reftitle.description; public static `EventBufferEvent` `EventBufferEvent::sslFilter` `EventBase` `base` `EventBufferEvent` `underlying` `EventSslContext` `ctx` `int` `state` `int` `options` 0

Create a new SSL buffer event to send its data over another buffer event

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

&reftitle.parameters;

`base`

- Associated event base.

`underlying`

- A socket buffer event to use for this SSL.

`ctx`

- Object of `EventSslContext` class.

`state`

- The current state of SSL connection: `EventBufferEvent::SSL_OPEN` , `EventBufferEvent::SSL_ACCEPTING` or `EventBufferEvent::SSL_CONNECTING` .

`options`

- One or more buffer event options.

&reftitle.returnvalues;

Returns a new SSL `EventBufferEvent` object.

&reftitle.examples;

&reftitle.seealso;

- `EventBufferEvent::sslSocket`