diff --git a/README.md b/README.md index 789401b6ff767820c4925fb5a0c7590834a683f1..318b40b75b81a8a8e48561bb4dd95524724dd418 100644 --- a/README.md +++ b/README.md @@ -12,10 +12,14 @@ upper layer applications recommend HTTP communication capabilities. `ylong_http` is written in the Rust language to support OpenHarmony's Rust capability. -## Structure +**Structure**: ![structure](./figures/structure.png) +**Inner Structure**: + +![inner_structure](./figures/inner_structure.png) + ### ylong_http_client crate `ylong_http_client` crate supports HTTP client functionality and allows users @@ -62,6 +66,9 @@ ylong_http_client = { path = "/example_path/ylong_http_client" } ```text ylong_http +├── docs # User's guide +├── figures # Resources +├── patches # Patches for ci ├── ylong_http │ ├── examples # Examples of ylong_http │ ├── src # Source code ylong_http diff --git a/README_zh.md b/README_zh.md index 09149431703b969ee1f27fdb4421c5e202c618f2..ea1350863c48a7384ec2a9efd419469fbf4d79c4 100644 --- a/README_zh.md +++ b/README_zh.md @@ -8,10 +8,13 @@ ylong_http 向 OpenHarmony 系统服务层中的网络子系统提供 HTTP 协 ylong_http 协议栈主体使用 Rust 语言编写,为 OpenHarmony 的 Rust 能力构筑提供支持。 -## 架构图 +**架构图**: ![structure](./figures/structure.png) +**内部架构图**: +![inner_structure](./figures/inner_structure.png) + ### ylong_http_client 库 ylong_http_client 库支持 HTTP 客户端功能,支持用户创建 HTTP 客户端向指定 Server 发送 HTTP 请求。 @@ -56,6 +59,9 @@ ylong_http_client = { path = "/example_path/ylong_http_client" } # 请使用路 ``` ylong_http +├── docs # ylong_http 用户指南 +├── figures # ylong_http 图片资源 +├── patches # ylong_http 门禁使用的补丁资源 ├── ylong_http │ ├── examples # ylong_http 基础组件库代码示例 │ ├── src # ylong_http 基础组件库源码 diff --git a/figures/inner_structure.png b/figures/inner_structure.png new file mode 100644 index 0000000000000000000000000000000000000000..d5ad865c248eaec4c05af625b14e0522bcd4a840 Binary files /dev/null and b/figures/inner_structure.png differ