WinHTTP 5.1 |
Microsoft Windows HTTP Services (WinHTTP) provides developers with a server-supported, high-level interface to the HTTP/1.1 Internet protocol. WinHTTP is designed to be used primarily in server-based scenarios by server applications that communicate with HTTP servers.
WinHTTP is also designed for use in system services and HTTP-based client applications. WinHTTP is more secure and robust than WinINet. However, single-user applications that require FTP or Gopher protocol functionality, cookie persistence, caching, automatic credential dialog handling, Internet Explorer compatibility, or downlevel platform support should consider using WinInet.
This interface is accessible from PowerBASIC by using either the WinHTTP application programming interface (API), the IWinHttpRequest and IWinHttpRequestEvents interfaces, or through the WinHTTP object.
Before you begin to develop a Microsoft Windows HTTP Services (WinHTTP) application, you must first decide whether to use the API or the COM interface. The following table summarizes the advantages and disadvantages associated with each of these approaches.
|