import WS from 'ws-sequence'
const ws = new WS({uri: 'wss://localhost', ping: '💧', binaryType: 'blob'})
ws.on('open', e => {
console.log(e)
})
ws.on('message', msg => {
console.log(msg)
})
ws.send({foo: 'bar'})
-
Notifications
You must be signed in to change notification settings - Fork 0
cutsin/ws-sequence
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Packages 0
No packages published