The Swoole\Client class
(PECL swoole >= 1.9.0)
類(lèi)摘要
class Swoole\Client
{
public close(
bool $force
= ?):
bool
public connect(
string $host
,
int $port
= ?,
int $timeout
= ?,
int $flag
= ?):
bool
public on(
string $event
,
callable $callback
):
void
public pipe(
string $socket
):
void
public recv(
string $size
= ?,
string $flag
= ?):
void
public send(
string $data
,
string $flag
= ?):
int
public sendfile(
string $filename
,
int $offset
= ?):
bool
public sendto(
string $ip
,
int $port
,
string $data
):
bool
public set(
array $settings
):
void
}
屬性
- errCode
-
- sock
-
- reuse
-
- reuseCount
-
預定義常量
Swoole\Client::MSG_OOB
-
Swoole\Client::MSG_PEEK
-
Swoole\Client::MSG_DONTWAIT
-
Swoole\Client::MSG_WAITALL
-
目錄
男女疯狂一边摸一边做羞羞视频|啊好深好硬快点用力别停动态图|亚洲一区无码中文字幕|特级无码毛片免费视频播放▽|久久狠狠躁免费观看|国内精品久久久久久网站