Skip to content

Commit

Permalink
chore(docs): add connect-options demo
Browse files Browse the repository at this point in the history
  • Loading branch information
ddiu8081 committed Dec 18, 2023
1 parent 202fbe2 commit 78452ea
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,17 @@ interface MessageListenerOptions {
}
```

```ts
startListen(652581, handler, {
ws: {
platform: 'web',
uid: 541993,
key: '<login_key>',
buvid: '<login_buvid>',
}
})
```

## Handlers & Type Definitions

### Common
Expand Down

0 comments on commit 78452ea

Please sign in to comment.