Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat: 实现JSON API服务器 #750

Merged
merged 11 commits into from
Oct 26, 2023
Merged

Feat: 实现JSON API服务器 #750

merged 11 commits into from
Oct 26, 2023

Conversation

gnattu
Copy link
Contributor

@gnattu gnattu commented Oct 24, 2023

这个PR为BBDown实现了一个JSON API,可以让BBDown作为服务器来接受下载任务的提交。大部分内容都已经在json-api-doc.md中说明,一些代码上的改动:

  • Main中的DoWorkAsync()的主要逻辑被拆分成了三个函数,用来支持服务器下载任务工作流
  • ProgressBarDownloadTask都新增了一个RelatedTask字段,用于更新下载任务的进度

BBDown/BBDownApiServer.cs Outdated Show resolved Hide resolved
BBDown/Program.cs Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
@gnattu
Copy link
Contributor Author

gnattu commented Oct 25, 2023

已调整

@nilaoda nilaoda merged commit 0090521 into nilaoda:master Oct 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants