# WebSocket_OpenResult ## Overview Defines the parameters for the connection success received by the WebSocket client. **Since**: 11 **Related module**: [netstack](capi-netstack.md) **Header file**: [net_websocket_type.h](capi-net-websocket-type-h.md) ## Summary ### Member Variables | Name| Description| | -- | -- | | uint32_t code | Result code for successful WebSocket client connection.| | const char *reason | Reason for successful WebSocket client connection.|