AbstractProxyClientService

AbstractProxyClientService ⇐ AbstractProxyService

Kind: global abstract class
Extends: AbstractProxyService
Service:

AbstractProxyClientService()

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

initialize([options]) ⇒ Promise

Function called before the initialization of the service to register listeners and send initial message to the proxy server.

Kind: instance method of AbstractProxyClientService

ParamTypeDescription
[options]Object

Some options...

send(message, [options]) ⇒ Promise

Send a request to a proxy server

/!\ CLIENT SIDE /!\

Kind: instance method of AbstractProxyClientService

ParamTypeDescription
messageObject
[options]Object

Some options...

receive(message, [options]) ⇒ Promise

Receive a response from proxy server

/!\ CLIENT SIDE /!\

Kind: instance method of AbstractProxyClientService

ParamTypeDescription
messageObject
[options]Object

Some options...