« Swoole\Buffer::write
Swoole\Channel::__construct »
PHP Manual
Swoole
La clase Swoole\Channel
La clase Swoole\Channel
(PECL swoole >= 1.9.0)
Introducción
Sinopsis de la Clase
class
Swoole\Channel
{
/* Métodos */
public
__destruct
():
void
public
pop
():
mixed
public
push
(
string
$data
):
bool
public
stats
():
array
}
Tabla de contenidos
Swoole\Channel::__construct
— Construye un canal Swoole
Swoole\Channel::__destruct
— Destruye un canal Swoole.
Swoole\Channel::pop
— Lee y extrae datos del canal swoole.
Swoole\Channel::push
— Escribe y empuja datos en el canal Swoole.
Swoole\Channel::stats
— Devuelve las estadísticas del canal Swoole.