Results 1 to 4 of 4

Thread: Looking to build a HTTP class but what should it be built off of?

  1. #1

    Thread Starter
    Member
    Join Date
    Apr 2019
    Posts
    63

    Question 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
    Last edited by sancarn; Sep 25th, 2020 at 05:18 PM.

  2. #2
    PowerPoster
    Join Date
    Feb 2006
    Posts
    24,482

    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?

  3. #3

    Thread Starter
    Member
    Join Date
    Apr 2019
    Posts
    63

    Re: Looking to build a HTTP class but what should it be built off of?

    Quote Originally Posted by dilettante View Post
    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.

  4. #4
    PowerPoster
    Join Date
    Feb 2017
    Posts
    5,064

    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.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width