ProxySocketClientService

ProxySocketClientService ⇐ AbstractProxyClientService

Kind: global class
Extends: AbstractProxyClientService
Service:
Properties

NameTypeDescription
serverUrlString

The full url (including protocol and port) to the socket server

ProxySocketClientService()

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

initialize(appId, [options]) ⇒ Promise.<any>

Initialize proxy

Kind: instance method of ProxySocketClientService
Returns: Promise.<any> - A resolved promise

ParamTypeDescription
appIdString

The application identifier

[options]Object

Some extra options

_send(message, [options]) ⇒ Promise

Implementation to send a message

Kind: instance method of ProxySocketClientService
Returns: Promise - A resolved promise
Access: protected

ParamTypeDescription
messageObject

A given message to send

[options]Object

Some extra options