Skip to content

Commit

Permalink
hah, prefix != suffix
Browse files Browse the repository at this point in the history
  • Loading branch information
cpoile committed Jan 30, 2024
1 parent 2170e14 commit 312539a
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
}

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

Expand Down

0 comments on commit 312539a

Please sign in to comment.