Skip to content

Commit 941e98e

Browse files
committed
update:docment and readme
1 parent 3f2817b commit 941e98e

File tree

4 files changed

+8
-1
lines changed

4 files changed

+8
-1
lines changed

README.en.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,10 @@ P2P distributed download is the same as the hyper-threaded download of other dow
8787
- XEngine_APPClient client code dir
8888
- XEngine_SQLFile database sql file
8989

90+
## Example
91+
UPLoad File: curl -d 'hello xengine' -X POST "http://192.168.1.8:5102/api?filename=hello.txt&storeagekey=storagekey1"
92+
Download File: curl -X GET "http://192.168.1.8:5101/storagekey1/hello.txt"
93+
9094
## now task
9195
P2P WAN file search and download support
9296

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,9 @@ make FLAGS=CleanAll 清理编译
7777
- XEngine_APPClient 客户端演示代码
7878
- XEngine_SQLFile 数据库脚本文件
7979

80+
## 示例
81+
上传文件: curl -d 'hello xengine' -X POST "http://192.168.1.8:5102/api?filename=hello.txt&storeagekey=storagekey1"
82+
下载文件: curl -X GET "http://192.168.1.8:5101/storagekey1/hello.txt"
8083

8184
## 秒传实现
8285
秒传的实现不是靠服务器实现的,而是靠客户端实现的.
@@ -88,8 +91,8 @@ P2P分布式下载已经支持,不过目前只能在局域网中,暂时不支持
8891
P2P分布式下载与其他下载工具的超线程下载一样,原理是使用HTTP RANGE字段实现.各位可以通过libcurl等库实现此功能.
8992

9093
## 当前任务
91-
管理接口调试
9294
本地网络接口删除
95+
上传目录控制,防止超过权限的上传动作
9396
客户端连接数限制
9497
P2P广域网文件查找与下载支持
9598
分布式数据库存储

XEngine_Docment/Docment_en.docx

206 Bytes
Binary file not shown.

XEngine_Docment/Docment_zh.docx

317 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)