Skip to content

Commit

Permalink
chore: add examples of browser usage
Browse files Browse the repository at this point in the history
  • Loading branch information
ddiu8081 committed Sep 1, 2024
1 parent 4ad511a commit 22a62b9
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion example/browser/src.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,10 @@ const handler: MsgHandler = {
},
}

startListen(652581, handler)
startListen(953650, handler, {
ws: {
uid: 541993,
url: 'wss://xxxxxx.chat.bilibili.com:2245/sub',
key: 'xxxxxx',
},
})

0 comments on commit 22a62b9

Please sign in to comment.