harmony 鸿蒙WebSocket
WebSocket
Overview
Defines the WebSocket client structure.
Since: 11
Related module: Netstack
Header file: net_websocket_type.h
Summary
Member Variables
Name | Description |
---|---|
WebSocket_OnOpenCallback onOpen | Pointer to the callback invoked when the WebSocket client receives a connection message. |
WebSocket_OnMessageCallback onMessage | Pointer to the callback invoked when the WebSocket client receives a message. |
WebSocket_OnErrorCallback onError | Pointer to the callback invoked when the WebSocket client receives an error message. |
WebSocket_OnCloseCallback onClose | Pointer to the callback invoked when the WebSocket client receives a close message. |
WebSocket_RequestOptions requestOptions | Options of the connection request. |
你可能感兴趣的鸿蒙文章
harmony 鸿蒙NetConn_ConnectionProperties
harmony 鸿蒙NetConn_NetCapabilities
harmony 鸿蒙NetConn_NetConnCallback
harmony 鸿蒙NetConn_NetHandleList
0
赞
- 所属分类: 后端技术
- 本文标签:
热门推荐
-
2、 - 优质文章
-
3、 gate.io
-
8、 golang
-
9、 openharmony
-
10、 Vue中input框自动聚焦