Cycure

Creating a simple Http Client using WinInet for Windows

Posted by yadab das on May 20, 2008

The WinInet provides APIs to communcate (or interact) with HTTP services. I have started to use WinInet in my application (A console based one) to interact with Web Service but which leads me to write a SimpleHttp Client, which will support Http POST and Http GET requests. Although we can use WinInet directly but I have been missing the HttpClient like APIs from Apache, So i have tried to write one for me.
The architechtural overview for the same is presented in the following diagram

By the way people would love to use WinHttp Api. http://msdn.microsoft.com/en-us/library/aa384273(VS.85).aspx

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <pre> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>