Client

WindowSocket. Client

new Client(event)

Source:
Parameters:
Name Type Description
event MessageEvent

Methods

(static) disconnect()

Source:

(static) fire(eventName, …args) → {WindowSocket.Client}

Source:
Parameters:
Name Type Attributes Description
eventName string
args any <repeatable>
Returns:
Type
WindowSocket.Client

(static) isSameSource(source) → {boolean}

Source:
Parameters:
Name Type Description
source MessageEventSource
Returns:
Type
boolean

(static) isSameTarget(target) → {boolean}

Source:
Parameters:
Name Type Description
target WindowProxy
Returns:
Type
boolean

(static) message(…args) → {WindowSocket.Client}

Source:
Parameters:
Name Type Attributes Description
args Array.<any> <repeatable>
Returns:
Type
WindowSocket.Client

(static) source() → {MessageEventSource}

Source:
Returns:
Type
MessageEventSource

(static) target() → {WindowProxy}

Source:
Returns:
Type
WindowProxy