Amp\Socket\cryptoConnect

function cryptoConnect($uri, array $options = []): Amp\Promise

Asynchronously establish an encrypted TCP connection (non-blocking)

NOTE: Once resolved the socket stream will already be set to non-blocking mode.

Type Parameter Description Default Value
mixed $uri No documentation. none
array $options No documentation. []