@uprtcl/socket-provider
v0.2.0
Published
_Prtcl provider for notification service
Downloads
3
Readme
@uprtcl/socket-provider
This node package includes basic _Prtcl provider wrappers around socket.io.
Documentation
Visit our documentation site.
Install
npm install @uprtcl/socket-provider
Usage
Import the appropriate connection you would like to use, and make a new instance of it by passing its configuration:
import { SocketConnection } from '@uprtcl/socket-provider';
const socketConnection = new SocketConnection({
// domain: domain,
});
await socket.ready();