1# WebSocket_CloseOption
2
3
4## Overview
5
6Defines the parameters for the proactive connection closure initiated by the WebSocket client.
7
8**Since**: 11
9
10**Related module**: [Netstack](netstack.md)
11
12
13## Summary
14
15
16### Member Variables
17
18| Name| Description|
19| -------- | -------- |
20| [code](netstack.md#code-23) | Error code for the connection closure.|
21| [reason](netstack.md#reason-23) | Error cause for the connection closure.|
22