drashland/wocket

No way to send to a specific client

ebebbington opened this issue · 0 comments

Summary

What: I'd love to see the ability to send to specific clients and not only channels

Why: Using myself as an example, i need to do this for a video chat app (eg on one client accepting a call, send a YES to the other client in the room, so we can bridge them through webrtc), but it isn't possible right now

Maybe sockets could have something similar to socket.io: this.socket.to(id).emit(channel, data)

Example:
image

Acceptance Criteria