The Swoole\Client class
(PECL swoole >= 1.9.0)
はじめに
クラス概要
class Swoole\Client
{
/* 定数 */
/* プロパティ */
public
$errCode;
public
$sock;
public
$reuse;
public
$reuseCount;
/* メソッド */
}プロパティ
- errCode
- sock
- reuse
- reuseCount
目次
- Swoole\Client::close — Close the connection established.
- Swoole\Client::connect — Connect to the remote TCP or UDP port.
- Swoole\Client::__construct — Create Swoole sync or async TCP/UDP client, with or without SSL.
- Swoole\Client::__destruct — Destruct the Swoole client.
- Swoole\Client::getpeername — Get the remote socket name of the connection.
- Swoole\Client::getsockname — Get the local socket name of the connection.
- Swoole\Client::isConnected — Check if the connection is established.
- Swoole\Client::on — Add callback functions triggered by events.
- Swoole\Client::pause — Pause receiving data.
- Swoole\Client::pipe — Redirect the data to another file descriptor.
- Swoole\Client::recv — Receive data from the remote socket.
- Swoole\Client::resume — Resume receiving data.
- Swoole\Client::send — Send data to the remote TCP socket.
- Swoole\Client::sendfile — Send file to the remote TCP socket.
- Swoole\Client::sendto — Send data to the remote UDP address.
- Swoole\Client::set — Set the Swoole client parameters before the connection is established.
- Swoole\Client::sleep — Remove the TCP client from system event loop.
- Swoole\Client::wakeup — Add the TCP client back into the system event loop.
+add a note
User Contributed Notes
There are no user contributed notes for this page.