目录

WebSocket_CloseOption

struct WebSocket_CloseOption {...}

Overview

Defines the parameters for proactively closing a WebSocket client connection.

Since: 11

Related module: netstack

Header file: net_websocket_type.h

Summary

[h2]Member Variables

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