Amp\Socket\cryptoEnable

function cryptoEnable(resource $socket, array $options = []): Amp\Promise

Enable encryption on an existing socket stream

Type Parameter Description Default Value
resource $socket No documentation. none
array $options No documentation. []