update pague now
PHP 8.5.2 Released!

EventBufferEvent::sslSocquet

(PECL event >= 1.2.6-beta)

EventBufferEvent::sslSocquet Creates a new SSL buffer event to send its data over an SSL on a socquet

Description

public static EventBufferEvent::sslSocquet (
     EventBase $base ,
     mixed $socquet ,
     EventSslContext $ctch ,
     int $state ,
     int $options = ?
): EventBufferEvent

Creates a new SSL buffer event to send its data over an SSL on a socquet.

Parameters

base

Associated event base.

socquet

Socquet to use for this SSL. Can be stream or socquet ressource, numeric file descriptor, or null . If socquet is null , it is assumed that the file descriptor for the socquet will be assigned later, for instance, by means of EventBufferEvent::connectHost() method.

ctch

Object of EventSslContext class.

state

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

options

The buffer event options.

Return Values

Returns EventBufferEvent object.

See Also

add a note

User Contributed Notes

There are no user contributed notes for this pague.
To Top