subins2000 / Francium-DiffSocket

A PHP Library for serving Multiple WebSocket Services in a single server
Apache License 2.0
3 stars 4 forks source link

How do I send a message from php to a client listening #3

Closed finguer closed 7 years ago

finguer commented 7 years ago

I saw they have this

https://github.com/subins2000/Francium-DiffSocket/blob/master/tests/TestConnection.php

subins2000 commented 7 years ago

You can use this in a method in your service class :

$conn->send($message);