【发布时间】:2010-11-12 21:05:37
【问题描述】:
就在我终于明白 Msxml2.XMLHTTP 和 Msxml2.ServerXMLHTTP 的区别时
http://support.microsoft.com/kb/290761
XMLHTTP 是为客户端应用程序设计的,它依赖于基于 Microsoft Win32 Internet (WinInet) 构建的 URLMon。 ServerXMLHTTP 是为服务器应用程序设计的,它依赖于新的 HTTP 客户端堆栈 WinHTTP。 ServerXMLHTTP 提供可靠性和安全性,并且是服务器安全的。有关详细信息,请参阅 MSXML 软件开发工具包 (SDK) 文档。
突然发现 WinHttp.WinHttpRequest...
http://msdn.microsoft.com/en-us/library/aa382925(VS.85).aspx
Microsoft Windows HTTP 服务 (WinHTTP) 为开发人员提供服务器支持的 HTTP/1.1 Internet 协议高级接口。 WinHTTP 旨在主要由与 HTTP 服务器通信的服务器应用程序在基于服务器的方案中使用。
那么,这与 Msxml2.ServerXMLHTTP 有何不同
(嗯,隐含的问题是我应该使用哪一个...)
【问题讨论】:
-
如果客户端使用 Msxml2.ServerXMLHTTP?在引用中:ServerXMLHTTP 是为服务器应用程序设计的......
标签: httpwebrequest winhttp xmlhttprequest serverxmlhttp winhttprequest