logo UB DOC
  • Tutorials
  • Articles
  • Server API
  • Client API
  • UI widgets
  • Changelog
Modules
  • @unitybase/adminui-vue
  • @unitybase/cs-shared
  • @unitybase/ub-pub
Classes
  • ClientRepository
  • CustomRepository
  • LocalRepository
  • UBQL
  • UBQLItem
  • UBQLOrderItem
  • UBQLWhere
  • Validator
  • Classes
    • UBNotifierWSProtocol
  • Events
    • accepted
    • connected

  1. @unitybase/ub-pub
  2. UBNotifierWSProtocol

WebSocket connection to UnityBase server using ubNotifier protocol

Classes

  • UBNotifierWSProtocol

Events

# accepted  --> ()

If server accept a ubNotifier WS connection this event will be emitted for UBNotifierWSProtocol with connectionID parameter

# connected  --> ()

Emitted for UBNotifierWSProtocol just after WS connection is established, but before it accepted by server. Params: url, protocol