1.0.2 • Published 2 years ago

@mikosoft/ws-lib v1.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

ws-lib

A mutual library files for @mikosoft/ws-server and @mikosoft/ws-client-nodejs .

Installation

npm install --save @mikosoft/ws-lib

Library parts:

  • subprotocol: jsonRWS, raw
  • websocket13: DataParser, handshake
  • getMessageSize
  • getMessageSizeFromBlob
  • helper
  • StringExt

Exported object

const wsLib = require('@mikosoft/ws-lib');

/*
wsLib:
{
  subprotocol,
  raw,
  jsonRWS,
  websocket13,
  helper,
  getMessageSize,
  getMessageSizeFromBlob,
  StringExt
}
*/

Website

http://libs.mikosoft.info/websocket/ws-lib

Licence

Copyright (c) 2021 MikoSoft licensed under MIT .