jsonql-ws-server-core

v1.1.2
This is the core module that drive the Jsonql WS Socket server, not for direct use.
socket.io ws jsonql Websocket

jsonql-ws-server-core

This is the core module for Jsonql WS Web Socket server

This module is not intend to use directly.

Check jsonql.org for more information.

Note

The main functionality of this module is:

  • Setup all the default configuration options
  • Setup the resolver handlers, and prepare the resolver to act
  • Setting up the public and private NSP(s) to handle authentication / security

Export modules

This is for our own reference use ONLY:

  • addProperty
  • getContract
  • createWsReply
  • getDebug
  • getNamespace
  • extractWsPayload
  • nil
  • getUserdata
  • resolveMethod
  • wsServerDefaultOptions
  • wsServerConstProps
  • jsonqlWsCoreConstants
  • jsonqlWsServerCore
  • jsonqlWsServerCoreAction

TODO (toward V.1 release)

  • origin / ip checking
  • CSRF
  • TS check
  • standalone mode features
  • Intercom event handling

NEWBRAN LTD UK

TO1SOURCE CHINA

npm i jsonql-ws-server-core

Metadata

  • MIT
  • Whatever
  • Joel Chu
  • released 4/5/2020

Downloads

Maintainers