Skip to main content

Module protocol

Module protocol 

Source
Expand description

A2UI 协议消息类型

定义服务端到客户端和客户端到服务端的消息格式

Structs§

ActionMessage
动作消息(用户交互触发)
Catalog
目录定义
ClientCapabilities
客户端能力声明(通过 Transport metadata 发送)
ClientDataModel
客户端数据模型(通过 Transport metadata 发送)
ClientMessage
客户端到服务端的消息信封
CreateSurface
创建 Surface 消息
DeleteSurface
删除 Surface 消息
ErrorMessage
错误消息
FunctionDefinition
函数定义
ServerMessage
服务端到客户端的消息信封
Theme
主题配置
UpdateComponents
更新组件消息
UpdateDataModel
更新数据模型消息

Enums§

ClientMessageContent
客户端消息内容
ErrorCode
错误代码
ServerMessageContent
服务端消息内容

Constants§

PROTOCOL_VERSION
A2UI 协议版本