PHP 7.4.0beta4 released!

Swoole\Server::sendMessage

(PHP 5 >= 5.2.0, PHP 7, PECL swoole >= 1.9.0)

Swoole\Server::sendMessageSend message to worker processes by ID.

说明

public Swoole\Server::sendMessage ( integer $worker_id , string $data ) : boolean

参数

dst_worker_id

data

返回值

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top