API Docs for: 0.1.3
Show:

SockjsServer Class

Provides an App which listens to a sockjs instance and can attach to an http.Server instance. This is the object return by midsockets() in nodejs. You can mount other App instances, such as a Router.

Constructor

SockjsServer

(
  • options
)

Parameters:

  • options Object
    • sockjs_url String

      The url of the sockjs client, for use in an embedded iframe if necessary

Item Index

Methods

installListeners

(
  • socksrv
)

Listens to the passed sockjs instance for incoming requests

Parameters:

  • socksrv Object

    the sockjs instance