\React\SocketClientStreamEncryption

This class is considered internal and its API should not be relied upon outside of SocketClient

Summary

Methods
Properties
Constants
__construct()
enable()
disable()
toggle()
toggleCrypto()
handleError()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$loop
$method
$errstr
$errno
$wrapSecure
N/A

Properties

$loop

$loop

$method

$method

$errstr

$errstr

$errno

$errno

$wrapSecure

$wrapSecure

Methods

toggle()

toggle(\React\Stream\Stream $stream,  $toggle)

Parameters

\React\Stream\Stream $stream
$toggle

toggleCrypto()

toggleCrypto( $socket, \React\Promise\Deferred $deferred,  $toggle)

Parameters

$socket
\React\Promise\Deferred $deferred
$toggle

handleError()

handleError( $errno,  $errstr)

Parameters

$errno
$errstr