Skip to content

add reverse api support.(#417) #440

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

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open

add reverse api support.(#417) #440

wants to merge 6 commits into from

Conversation

tat5522
Copy link

@tat5522 tat5522 commented Mar 25, 2021

增加反向代理(ReverseObject)的API控制。加入以下API

  rpc AddBridge(AddBridgeRequest) returns (AddBridgeResponse){}
  rpc RemoveBridge(RemoveBridgeRequest) returns (RemoveBridgeResponse){}
  rpc AddPortal(AddPortalRequest) returns (AddPortalResponse){}
  rpc RemovePortal(RemovePortalRequest) returns (RemovePortalResponse){}

使用时config.json中需加入"reverse": {}顶级对象。

@AkinoKaede AkinoKaede linked an issue Mar 28, 2021 that may be closed by this pull request
@RPRX
Copy link
Member

RPRX commented Apr 1, 2025

这功能是可以有的吧,咋没人理

@RPRX RPRX requested a review from yuhan6665 April 1, 2025 14:58
@RPRX
Copy link
Member

RPRX commented Apr 1, 2025

虽然服务端想要控制客户端的 API 得先通过反向代理,那既然都已经有反向代理了还。。。

而如果客户端给服务端加了个门通向自己,还得以其它途径告知服务端使用它

@RPRX
Copy link
Member

RPRX commented Apr 1, 2025

。。。attention 就 attention 还 deserve 上了,要不要颁个 human rights 奖给你

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.

[Feature] Reverse API
2 participants