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

添加 Socket Flag #56

Merged
merged 3 commits into from
Jul 2, 2022
Merged

添加 Socket Flag #56

merged 3 commits into from
Jul 2, 2022

Conversation

crazywhalecc
Copy link
Member

Socket Flag 的作用是对实现协议的时候复用通信方式的一个支持,例如开启一个非 OneBotConnect 的 HTTP 服务器用于接收其他 IM 的事件推送,这样可与 OneBot 12 本身解藕,也就是相当于可自行添加一个额外的通信方式并启动,而 libob 对自定义添加的这个 Socket 为默认 Flag(默认为 0,如果是 OneBot 配置的通信方式 Socket 的 Flag 则为 1)不会对其转发。

@crazywhalecc crazywhalecc added area/function 关于功能 kind/feature 这是个功能/特性 status/wait-for-review 需要Review labels Jul 1, 2022
@crazywhalecc crazywhalecc added this to the v1.0.0 milestone Jul 1, 2022
@crazywhalecc crazywhalecc requested a review from sunxyw July 1, 2022 15:32
@crazywhalecc crazywhalecc self-assigned this Jul 1, 2022
@github-actions github-actions bot added lifecycle/ready-for-merge 请合并此PR and removed status/wait-for-review 需要Review labels Jul 2, 2022
@crazywhalecc crazywhalecc merged commit 1eaa362 into develop Jul 2, 2022
@crazywhalecc crazywhalecc deleted the feature/socket-flag branch July 2, 2022 10:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/function 关于功能 kind/feature 这是个功能/特性 lifecycle/ready-for-merge 请合并此PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants