Software AG Products 10.7 | Integrating On-Premises and Cloud Applications | Integration Server Built-In Services | WebSocket Folder | Summary of Elements in this Folder | pub.websocket:onClose
 
pub.websocket:onClose
WmPublic. Specification for a callback service related to WebSocket server or client endpoint that gets invoked when a WebSocket session is closed or disconnected.
Input Parameters
sessionId
String Session ID to identify the WebSocket session.
statusCode
Integer Indicates the reason why the underlying WebSocket connection was closed.
The pre-defined status codes when closing an established connection are defined in Section https://tools.ietf.org/html/rfc6455#section-7.4.
reason
String Text explaining the reason for closure.
Output Parameters
None.