Manually close Ratchet web socket server on server side?

40 views
Skip to first unread message

shin...@gmail.com

unread,
Sep 29, 2016, 11:01:23 AM9/29/16
to Ratchet
Hello. First of all, I have use the following php code to success bind ratchet to my server.

$app = new Ratchet\App('xxx', xxx, 'xxx', null);
$app->route('/ChatServer', new ChatServer(), array('*'));
$app->run();

However, how can I manually close this chat server? Is there any code can do that?
Such as $app->close ?

Thanks.
Reply all
Reply to author
Forward
0 new messages