Skip to content

Quiq/quiq-socket

Repository files navigation

Quiq-Socket

WebSocket wrapper with retry and heartbeat.

styled with prettier Build Status

Installation

npm i --save quiq-socket

or

yarn add quiq-socket

Usage

import QuiqSocket from 'quiq-socket';

new QuiqSocket()
    .withUrl('https://myapp.com/socket')
    .addEventListener('message', message => {
        console.log(message);
    });

Many methods and options are available, and are documented inline in src/quiqSocket.js.

License

MIT

About

WebSocket wrapper with retry

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published