Swoole\Buffer::write
Swoole\Channel::__construct
Swoole
PHP Manual
The Swoole\Channel class
(PHP 5 >= 5.2.0, PHP 7, PECL swoole >= 1.9.0)
简介
类摘要
Swoole\Channel
{
/* 方法 */
public
void
__destruct
(
void
)
public
mixed
pop
(
void
)
public
bool
push
(
string
$data
)
public
array
stats
(
void
)
}
Table of Contents
Swoole\Channel::__construct
— Construct a Swoole Channel
Swoole\Channel::__destruct
— Destruct a Swoole channel.
Swoole\Channel::pop
— Read and pop data from swoole channel.
Swoole\Channel::push
— Write and push data into Swoole channel.
Swoole\Channel::stats
— Get stats of swoole channel.
Swoole\Buffer::write
Swoole\Channel::__construct
Swoole
PHP Manual