OPSocket is a Fast WebSocket Client for NodeJS, Designed for Heavy Usage and Abusage.
WebSocket.state
=> WebSocket.status
WebSocket.url
=> WebSocket.options.url
WebSocket.asyncIterator
=> WebSocket.options.asyncIterator
WebSocket.requestTimeout
=> WebSocket.options.requestTimeout
WebSocket.events
=> WebSocket.options.events
WebSocket.timeout
=> WebSocket.timers.open
WebSocket.closeTimeout
=> WebSocket.timers.close
WebSocket.socket
=> WebSocket.sockets.tls
WebSocket.requestSocket
=> WebSocket.sockets.request
WebSocket.frameHeader
=> WebSocket.frames.header
WebSocket.bufferList
=> WebSocket.frames.bufferList
WebSocket.currentFrame
=> WebSocket.frames.current
WebSocket.nonce
=> WebSocket.nonceData.initial
WebSocket.expectedNonce
=> WebSocket.nonceData.responseExpected
WebSocket.actualNonce
=> WebSocket.nonceData.responseActual
You Can take a look at the WebSocket Class in Our Docs to see usage examples.
Feel free to join our Discord Community and Support Server.
Please Note That The Client is Currently in Beta and May Have Bugs.