ProxySocketServerExtService

ProxySocketServerExtService ⇐ AbstractProxyServerService

Kind: global class
Extends: AbstractProxyServerService
Service:
Properties

NameTypeDescription
serverUrlString

to define a ws URI in localhost with a port defined

ProxySocketServerExtService()

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

initialize() ⇒ Promise.<any>

Initialize proxy

Kind: instance method of ProxySocketServerExtService

receive(message, [options]) ⇒ any

Implementation to receive a message

Kind: instance method of ProxySocketServerExtService

ParamType
messageObject
[options]Object

_send(message, [options]) ⇒ Promise

Implementation to send a message

Kind: instance method of ProxySocketServerExtService
Access: protected

ParamTypeDescription
messageObject
[options]Object

Some options...