WebSocket_CloseOption

struct WebSocket_CloseOption {...}

Overview

Defines the parameters for the proactive connection closure initiated by the WebSocket client.

Since: 11

Related module: netstack

Header file: net_websocket_type.h

Summary

Member Variables

Name Description
uint32_t code Error code.
const char *reason Error cause.