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

增加更多命令行CLI接口调用 #1049

Closed
shushu789 opened this issue Mar 12, 2024 · 1 comment
Closed

增加更多命令行CLI接口调用 #1049

shushu789 opened this issue Mar 12, 2024 · 1 comment

Comments

@shushu789
Copy link

您好,我想在.NET 中调用whistle,目前只能以进程方式来启动,停止以及一些比较简单的操作,但是我想在.NET中与whistle进行更多的交互,就像在浏览器中操作UI的方式那样操作,只不过我不需要UI操作,而是在代码中交互,主要是对数据的一系列处理。是否会考虑增加这一可能性?如果提供CLI的互操作API,除了.NET,它还可以在其他编程语言使用,比如Java,python等等。感谢,辛苦了

@avwo
Copy link
Owner

avwo commented Mar 13, 2024

可以通过启动参数 mode: 'shadowRulesOnly' 启动纯规则模式,并通过进程通信及 setShadowRules 动态修改规则,具体可以参考 Whistle 客户端的实现:https://github.com/avwo/whistle-client

@avwo avwo closed this as completed Mar 25, 2024
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