New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

@rivalis/protocol-websocket

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

@rivalis/protocol-websocket

Rivalis WebSocket protocol

latest
Source
npmnpm
Version
2.0.5
Version published
Maintainers
1
Created
Source

Rivalis WebSocket Protocol

GitHub Build Status GitHub Release) npm downloads Read docs Discord

To enable websocket protocol do the following:


// ...
const { WebSocketProtocol } = require('@rivalis/protocol-websocket')

const server = http.createServer()
const webSocketProtocol = new WebSocketProtocol({ server })

const rivalis = new Node({
    // add websocket instance inside array of transports
    transports: [ webSocketProtocol ]
    // ...
})

server.listen(2345)

License

The project is licensed under MIT License

Keywords

rivalis

FAQs

Package last updated on 26 Oct 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts