Close WebSocket

network · A243 · starter-package 7.0.1

Close one active connected WebSocket reference exactly once with a valid bounded close code and reason.

When to use

Close one active connected WebSocket reference exactly once with a valid bounded close code and reason.

Connectors

Inputs

ConnectorTypeRequired
WebSockettextYes
Close codenumberYes
ReasontextNo

Outputs

ConnectorType
Closedboolean

Settings

These are the saved settings and defaults. If a value is connected to the matching input, that connected value is used.

IDSettingControlDefaultBounds/options
codeClose codenumber10001000–4999

Behavior and boundaries

After local validation, this official package uses built-in WebSocket support to close the connection from a successful Connect block in the same workflow run and release it. Connection timeouts, message sizes, close, and cleanup are bounded.

Text, lists, responses, downloads, retries, and waits have fixed size or time limits. Redirects and web addresses are checked again. Secrets and local file paths never appear in workflow output.

Exact settings reference

These are the saved settings and defaults. If a value is connected to the matching input, that connected value is used.

IDSettingControlDefaultBounds/options
codeClose codenumber1000—

Recovering from errors

Correct the highlighted connector or setting. Reconnect credentials, files, sockets, requests, or responses from an earlier successful block in the same run. Check the URL and external service, approve any confirmation prompt, and try again. If the same valid input fails again, update Nodestly and this official add-on.