harmony 鸿蒙WebSocket_OpenResult

  • 2025-06-12
  • 浏览 (6)

WebSocket_OpenResult

Overview

Defines the parameters for the connection success received by the WebSocket client.

Since: 11

Related module: Netstack

Header file: net_websocket_type.h

Summary

Member Variables

Name Description
code Connection success code for the WebSocket client.
reason Connection reason for the WebSocket client.

你可能感兴趣的鸿蒙文章

harmony 鸿蒙Network Kit

harmony 鸿蒙NetConn_ConnectionProperties

harmony 鸿蒙NetConn_HttpProxy

harmony 鸿蒙NetConn_NetAddr

harmony 鸿蒙NetConn_NetCapabilities

harmony 鸿蒙NetConn_NetConnCallback

harmony 鸿蒙NetConn_NetHandle

harmony 鸿蒙NetConn_NetHandleList

harmony 鸿蒙NetConn_NetSpecifier

harmony 鸿蒙NetConn_Route

0  赞