# WebSocket_CloseResult ## Overview Defines the parameters for the connection closure received by the WebSocket client. **Since**: 11 **Related module**: [Netstack](netstack.md) ## Summary ### Member Variables | Name| Description| | -------- | -------- | | [code](netstack.md#code-13) | Error code for the connection closure.| | [reason](netstack.md#reason-13) | Error cause for the connection closure.|