mirror of
https://gitee.com/openharmony/communication_netstack
synced 2025-02-17 01:18:45 +00:00
修改readme
Signed-off-by: maosiping <maosiping@huawei.com>
This commit is contained in:
parent
02bccfff06
commit
2a3b7d8959
@ -9,10 +9,10 @@
|
||||
|
||||
The **network stack component** is an adaptation layer framework for developers to develop network protocol stacks such as HTTP, socket and websocket for OpenHarmony applications. At present, it mainly consists of the following two parts:
|
||||
|
||||
1. NAPI based JS adaptation layer on small system.
|
||||
1. NAPI based JS adaptation layer on mini system and small system.
|
||||
|
||||
|
||||
2. JSI based JS adaptation layer on mini system
|
||||
2. JSI based JS adaptation layer on standard system.
|
||||
|
||||
## Directory Structure<a name="section1464106163817"></a>
|
||||
|
||||
@ -22,8 +22,8 @@ The source code of the network stack component is stored in **/foundation/commun
|
||||
/foundation/communication/netstack
|
||||
├── frameworks # Framework code
|
||||
│ ├── js # JS adaptation
|
||||
│ ├── builtin # JSI based JS adaptation layer on mini system
|
||||
│ └── napi # NAPI based JS adaptation layer on small system
|
||||
│ ├── builtin # JSI based JS adaptation layer on mini system and small system
|
||||
│ └── napi # NAPI based JS adaptation layer on standard system
|
||||
├── interfaces # APIs exposed externally
|
||||
│ └── kits # OpenHarmony SDK API, including Java, JS and native. At present, there is only JS
|
||||
│ └── js # JS API
|
||||
|
@ -9,9 +9,9 @@
|
||||
|
||||
**电话子系统网络协议栈组件**,是OpenHarmony为开发者提供的一套开发OpenHarmony应用的Http、Socket、WebSocket等网络协议栈的API的适配层框架。目前主要由以下两部分组成:
|
||||
|
||||
1、小型系统上基于NAPI的JS适配层。
|
||||
1、标准系统上基于NAPI的JS适配层。
|
||||
|
||||
2、轻量级系统上基于JSI的JS适配层。
|
||||
2、轻量级系统和小型系统上基于JSI的JS适配层。
|
||||
|
||||
## 目录<a name="section1464106163817"></a>
|
||||
|
||||
@ -21,8 +21,8 @@
|
||||
/foundation/communication/netstack
|
||||
├── frameworks # 框架代码目录
|
||||
│ ├── js # JS适配层
|
||||
│ ├── builtin # 轻量级系统上基于JSI的JS适配层
|
||||
│ └── napi # 小型系统上基于NAPI的JS适配层
|
||||
│ ├── builtin # 轻量级系统和小型系统上基于JSI的JS适配层
|
||||
│ └── napi # 标准系统上基于NAPI的JS适配层
|
||||
├── interfaces # 对外暴露的API
|
||||
│ └── kits # OpenHarmony SDK API, 包括Java、Js、Native, 目前只有JS
|
||||
│ └── js # JS API
|
||||
|
Loading…
x
Reference in New Issue
Block a user