This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

@ipsme/reflector-ws-client
TypeScript icon, indicating that this package has built-in type declarations

0.4.0 • Public • Published

npm-reflector-ws-client

npm install @ipsme/reflector-ws-client@latest
// import the function reflector_ws_client.load()
import * as reflector_ws_client from '@ipsme/reflector-ws-client';
// -- OR --
// import * as reflector_ws_client from 'https://unpkg.com/@ipsme/reflector-ws-client@X.X.X';

// the SharedWorker reflector reflector-bc-ws-client.js must be copied from node_modules
// https://unpkg.com/browse/@ipsme/reflector-ws-client@X.X.X/
// in this example it has been copied (via WebPack) to './public'
reflector_ws_client.load(window, "./public/reflector-bc-ws-client.js",  function () {
	// run init code ...
});

config/debugging options
reflector_ws_client.config.options=  {
	// url : "ws://localhost:8082",
	rws : {
		maxRetries: 20,
		// debug: true
	},
	logr : 0
}

reflector_ws_client.load(...) {}

Dependencies (4)

Dev Dependencies (4)

Package Sidebar

Install

npm i @ipsme/reflector-ws-client

Weekly Downloads

16

Version

0.4.0

License

ISC

Unpacked Size

51.9 kB

Total Files

10

Last publish

Collaborators

  • knev