Skip to content

Commit

Permalink
Update client.go
Browse files Browse the repository at this point in the history
  • Loading branch information
G-MAKROGLOU authored Jul 17, 2024
1 parent d1eaf76 commit bfc27f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client.go
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ func (sc *SocketClient) Send(data map[string]interface{}) {
sc.events.OnSend(data)
}

// SendTo sends a unitcast/multicast message to all sockets in a room
// SendTo sends a unicast/multicast message to all sockets in a room
func (sc *SocketClient) SendTo(roomName string, data map[string]interface{}) {
data["Gm_Ws_Type"] = "gm_ws_multicast"
data["Gm_Ws_Room"] = roomName
Expand Down

0 comments on commit bfc27f3

Please sign in to comment.