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:
-
optionsObject-
sockjs_urlStringThe url of the sockjs client, for use in an embedded iframe if necessary
-
Item Index
Methods
Methods
installListeners
(
-
socksrv
Listens to the passed sockjs instance for incoming requests
Parameters:
-
socksrvObjectthe sockjs instance
