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

http服务器建议 #166

Open
ShmilyChen opened this issue Apr 29, 2020 · 3 comments
Open

http服务器建议 #166

ShmilyChen opened this issue Apr 29, 2020 · 3 comments

Comments

@ShmilyChen
Copy link

请问下,能做成插件绑定一个请求接口,然后访问接口,来调用插件内部的功能的http模块吗

@lzghzr
Copy link
Collaborator

lzghzr commented May 2, 2020

没太明白

@ShmilyChen
Copy link
Author

比如现在是运行在20080上,我访问localhost:20080/插件名/接口,然后就可调用插件内部的方法,运行插件代码,或者返回特定的json

@lzghzr
Copy link
Collaborator

lzghzr commented May 3, 2020

比如现在是运行在20080上,我访问localhost:20080/插件名/接口,然后就可调用插件内部的方法,运行插件代码,或者返回特定的json

有些复杂,因为本身就没有提供HTTP接口,全靠ws的,所以暂时不会考虑。
但是提供接口用来调用插件内部命令会做的
事实上,当初没想过插件都能做什么事情,基本处于放养状态,所以导致了现在权限大功能少的情况

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

No branches or pull requests

2 participants