summaryrefslogtreecommitdiff
path: root/bilibili/connect.go
diff options
context:
space:
mode:
authorKeuin <[email protected]>2023-07-29 20:28:19 +0800
committerKeuin <[email protected]>2023-07-29 20:28:28 +0800
commitc4dbd4a7b2ad86fcb0220a4e2ffdae68d0d00103 (patch)
tree37e3487153a377aa5555d780c15f3a774237722e /bilibili/connect.go
parent9b5c3913989754370bd7d03ac8cf2e32a6172afb (diff)
Merge branch 'bugfix-invalid-dmmsg'v0.5.0
Diffstat (limited to 'bilibili/connect.go')
-rw-r--r--bilibili/connect.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/bilibili/connect.go b/bilibili/connect.go
index 472c979..de608d0 100644
--- a/bilibili/connect.go
+++ b/bilibili/connect.go
@@ -5,7 +5,7 @@ import (
"nhooyr.io/websocket"
)
-func (b Bilibili) DialWebSocket(ctx context.Context, url string) (*websocket.Conn, error) {
+func (b *Bilibili) DialWebSocket(ctx context.Context, url string) (*websocket.Conn, error) {
ws, _, err := websocket.Dial(ctx, url, &websocket.DialOptions{
HTTPClient: b.http,
})