Skip to content

Commit

Permalink
client.Send -> client.WsSend
Browse files Browse the repository at this point in the history
  • Loading branch information
cpoile committed Jan 30, 2024
1 parent f29958e commit 2170e14
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,8 @@ func (c *Client) On(eventType EventType, h EventHandler) {
c.handlers[eventType] = h
}

// Send sends a websocket event to the server
func (c *Client) Send(ev string, msg any, binary bool) error {
// WsSend sends a websocket event to the server
func (c *Client) WsSend(ev string, msg any, binary bool) error {
return c.wsSend(ev, msg, binary)
}

Expand Down

0 comments on commit 2170e14

Please sign in to comment.