- Both come with all Windows versions we plan to support (Win2K and later).
- WinHTTP is better documented. WinInet has a more difficult API and spotty documentation.
- WinHTTP has a cleaner API with the support we need. A number of WinInet functions that are necessary for us (for example, for SSL state) are undocumented and unsupported, even though IE uses them.
- WinHTTP allows us to implement our own cache. WinInet always shares a cache with IE. We would like to control our own caching, and also sharing a cache with IE can cause problems since some sites may serve browser-specific pages.
- WinInet is better battle tested on account of being used by IE. WinHTTP is not used very much, and was designed for server use. It has problems with non-ASCII URL encodings sent by the server and keepalive connections. We have to provide workarounds for these issues.
chrome上对wininet和winhtp的区别的说明
最新推荐文章于 2024-09-25 11:01:51 发布