HTTP.WebSocket.isConnectionOpen()

Signature

boolean isConnectionOpen(Object eventOrSessionContext)

Domain

ACTION, CONDITION, BUI

Description

Returns if the underlying websocket endpoint connection is open

Parameters

NameTypeDescription
eventOrSessionContextObjectAccepts a SimpleEvent associated to WebSocket destination or the underlying websocket endpoint context retreived via getSessionContext api.

Returns

TypeDescription
booleanReturns if the underlying websocket endpoint connection is open