EventBufferEvent::sslSocket
(PECL event >= 1.2.6-beta)
Creates a new SSL buffer event to send its data over an SSL on a socket
Description
Creates a new SSL buffer event to send its data over an SSL on a socket.
Parameters
baseAssociated event base.
socketSocket to use for this SSL. Can be stream or socket resource, numeric file descriptor, or null. If
socketis null, it is assumed that the file descriptor for the socket will be assigned later, for instance, by means ofEventBufferEvent::connectHostmethod.ctxObject of
EventSslContextclass.stateThe current state of SSL connection:
EventBufferEvent::SSL_OPEN,EventBufferEvent::SSL_ACCEPTINGorEventBufferEvent::SSL_CONNECTING.optionsThe buffer event options.
Return Values
Returns EventBufferEvent object.
See Also
EventBufferEvent::sslFilter