PHP » GoLang |
login |
register |
about
|
GoLang Swoole\Channel::push
request it (285)
GoLang replacement for PHP's Swoole\Channel::push
[edit | history]
Swoole\Channel::push(PHP 5 >= 5.2.0, PHP 7, PECL swoole >= 1.9.0) Swoole\Channel::push — Write and push data into Swoole channel. Description
public bool Swoole\Channel::push
( string
$data
)Data can be any non-empty PHP variable, the variable will be serialized if it is not string type. If size of the data is more than 8KB, swoole channel will use temp files storage. The function will return true if the write operation is succeeded, or return false if there is not enough space. Parameters
Return ValuesWheter the data is pushed into he Swoole channel. |
more
Recently updated
more
Most requested
more
Last requests
|