How does the server receive a message and broadcast to all connected clients... 2) How do you authenticate a client before allowing connections?
Activity
sirn-se commentedon Aug 6, 2021
The current server is single connection. Use
receive()to receive messages, and any of the send methods to send messages to connected client: https://github.com/Textalk/websocket-php/blob/master/docs/Server.md#sending-messagesMulti connection support is planned for
v1.6.This library only concerns reading/writing over websocket. Any application logic need to be built on top of it.
mitmelon commentedon Aug 6, 2021
Ok thanks... Waiting for the update... Then...