Documentation

Final class Phalcon\Async\Network\TcpSocket

implements Phalcon\Async\Network\SocketStream, Phalcon\Async\Stream\ReadableStream, Phalcon\Async\Stream\WritableStream, Phalcon\Async\Stream\DuplexStream, Phalcon\Async\Network\Socket

Source on GitHub

Constants

integer NODELAY

integer KEEPALIVE

Methods

private __construct ()

...

public __wakeup ()

...

public static connect (unknown $host, unknown $port, [Phalcon\Async\Network\TlsClientEncryption $tls])

...

public static import (Phalcon\Async\Network\Pipe $pipe, [Phalcon\Async\Network\TlsClientEncryption $tls])

...

public static pair ()

...

public close ([Throwable $error])

...

public flush ()

...

public getAddress ()

...

public getPort ()

...

public setOption (unknown $option, unknown $value)

...

public getRemoteAddress ()

...

public getRemotePort ()

...

public isAlive ()

...

public read ([unknown $length])

...

public getReadableStream ()

...

public write (unknown $data)

...

public getWriteQueueSize ()

...

public getWritableStream ()

...

public export (Phalcon\Async\Network\Pipe $pipe)

...

public encrypt ()

...