jsonql-ws-server-core

1.1.2 • Public • Published

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

Package Sidebar

Install

npm i jsonql-ws-server-core

Homepage

jsonql.org

Weekly Downloads

0

Version

1.1.2

License

MIT

Unpacked Size

59.8 kB

Total Files

29

Last publish

Collaborators

  • joelchu