Opera蜻蜓开发的HTTP代理
dragonkeeper的Python项目详细描述
简介
Dragonkeeper是一个为Opera蜻蜓客户端工作的实用程序。 蜻蜓充当调试器和调试器之间的代理。这使得 可以将opera蜻蜓客户端作为普通网页运行。这个 使开发变得容易,因为在任何时候 对它的更改。
如何
使用DragonKeeper时的基本工作流如下:
- 从http://bitbucket.org/scope/dragonfly-stp-1/
- 使用适当的选项启动龙守护者。如果当前目录 是蜻蜓目录,所有的默认选项都应该可以。
- 打开要调试的浏览器,调试对象。
- 在调试对象中,打开地址“opera:debug”。
- 输入运行DragonKeeper的机器的IP地址和端口。 默认值为localhost和7001。
- 打开一个单独的opera实例,这将是调试器实例。
- 导航到Dragonkeeper实例的IP/端口。默认端口是 8002
- 你会得到一个目录列表。您应该在src中打开client-en.xml 文件夹。
- 这将从“守龙人”加载Opera蜻蜓并连接到 德布吉。
注意,debuggee和调试器都可以在同一台计算机上运行。这个 在开发时有意义。
用法
用法:-m dragonkeeper.dragonkeeper[选项]
出口:控制-C设置:可选的文件配置会覆盖默认值。 选项文件是一个标准的.ini文件,只有一个名为 “守护龙”:
[守龙人] 主持人: 根目录:。 服务器端口:8002 代理端口:7001 调试:false 格式:false
- 选项:
-h, --help show this help message and exit -c CONFIG_PATH, --config=CONFIG_PATH Path to config file -d, --debug print message flow -f, --format pretty print message flow -j, --format-payload pretty print the message payload. can be very expensive -r ROOT, --root=ROOT the root directory of the server; default . -p PROXY_PORT, --proxy-port=PROXY_PORT proxy port; default 7001 -s SERVER_PORT, --server-port=SERVER_PORT server port; default 8002 --host=HOST host; default localhost -i, --make-ini Print a default dragonkeeper.ini and exit --force-stp-0 force stp 0 protocol --print-command-map print the command map --message-filter=MESSAGE_FILTER Filter the printing of the messages. The argument is the filter or a path to a file with the filter. If the filter is set, only messages which are listed in the filter will be printed. The filter uses JSON notation like: {“<service name>”: {“<message type>”: [<message>*]}}”, with message type one of “command”, “response”, “event.” ‘*’ placeholder are accepted in <message>, e.g. a filter to log all threads may look like: “{‘ecmascript-debugger’: {‘event’: [‘OnThread*’]}}”. -v, --verbose print verbose debug info --cgi enable cgi support
源文件中的更多注释。
更改日志
请参见更改日志文件
联系人
“守龙人”由歌剧《蜻蜓》剧组负责维护。作者是
- 克里斯蒂安·克雷布斯,chrisk@opera.com>;
- 符文halvorsen<;runeh@opera.com>;
- Jan Borsodi,jborsodi@opera.com>;
Opera蜻蜓网站位于http://dragonfly.opera.com
许可证
请参阅顶部分发目录中的LICENSE文件。