如何让 IWebBrowser 调用我的 IHttpNegotiate 实现?
我使用 cwebpage_src 代码,我需要更新一些单击链接时的 HTTP 请求标头。据我了解,这可以通过 IHttpNegotiate->BeginTransaction 的自我实现来完成。但是如何调用我的 IHttpNegotiate 实现?
谢谢!
I use cwebpage_src code and I need to update some HTTP request headers while clicking on links. As I understand it can be done with self implementation of IHttpNegotiate->BeginTransaction. But how to get my IHttpNegotiate implementation called??
Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
虽然我没有编写异步代码的经验,但我相信您需要编写一个 异步可插入协议,如 此线程。
有关如何以及为何执行此操作的详细信息分散在网络上的各个地方,但我读过的最好的说明位于 这篇文章,作者:Igor Tandetnik(为简洁起见,此处省略):
Igor 有几个示例项目,应该有助于编写您自己的
pAPP
:Although I have no experience of writing one, I believe that you need to write an asynchronous pluggable protocol, as recommended in this thread.
Details of how and why to do this are scattered around the web in various places, but the best exposition that I've read is in this post by Igor Tandetnik (abridged here for brevity):
Igor has a couple of sample projects that should help in writing your own
pAPP
: