AbstractProxyServerService

AbstractProxyServerService ⇐ AbstractProxyService

Kind: global abstract class
Extends: AbstractProxyService
Service:

AbstractProxyServerService()

Service interface defining methods to handle server/client messages from a local Web Socket server.

send(message, [options])

Send a message to a proxy client

/!\ SERVER SIDE /!\

Kind: instance method of AbstractProxyServerService

ParamTypeDescription
messageObject
[options]Object

Some options...

receive(message, [options]) ⇒ Promise

Receive a message from proxy client

/!\ SERVER SIDE /!\

Kind: instance method of AbstractProxyServerService

ParamTypeDescription
messageObject
[options]Object

Some options...

clean()

To call when client is disconnected

Kind: instance method of AbstractProxyServerService