quiq-socket
TypeScript icon, indicating that this package has built-in type declarations

0.4.4 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i quiq-socket

Weekly Downloads

0

Version

0.4.4

License

MIT

Unpacked Size

225 kB

Total Files

10

Last publish

Collaborators

  • jaredpoetter
  • cdswag
  • quiqster
  • natenorberg
  • jdebruyc
  • bradski91
  • landblomquiq