From 2170e147e44c90373aebddfc17b80a23c60c70b7 Mon Sep 17 00:00:00 2001 From: Christopher Poile Date: Tue, 30 Jan 2024 16:53:10 -0500 Subject: [PATCH] client.Send -> client.WsSend --- client/client.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/client.go b/client/client.go index 8012748..96401b7 100644 --- a/client/client.go +++ b/client/client.go @@ -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) }