Looking to build a HTTP class but what should it be built off of?
The way I see it, there are 3 options here:
I've had some minor problems with WinHTTP.WinHTTPRequest at times, so I'm inclined not to use that, but generally speaking I don't know if Microsoft.XMLHTTP implementation is outdated also...
Does anyone have any experience here? Would you suggest XMLHTTP or WinHTTP? Or are there existing HTTP libraries out there which can be easily used?
Thanks
~Sancarn
Edit:
I did at least find this comparisson which seems to suggest WinHTTP directly is the better alternative...
https://docs.microsoft.com/en-us/win...http-interface
Re: Looking to build a HTTP class but what should it be built off of?
WinHTTPRequest is already a VB-friendly HTTP class.
Why would you need to wrap it within another class?
Re: Looking to build a HTTP class but what should it be built off of?
Quote:
Originally Posted by
dilettante
WinHTTPRequest is already a VB-friendly HTTP class.
Why would you need to wrap it within another class?
There are some things with WinHTTP which I find unintuitive. So providing a better interface was the main motivation :)
That said I'd still like to know if anyone knows the key differences / features missing from the 3 options listed. I'm generally quite inexperienced when it comes to HTTP stuff.
Re: Looking to build a HTTP class but what should it be built off of?
I once had to decide that and opted for WinHttp.WinHTTPRequest. Unfortunately I haven't been using it lately and forgot the reasons.