Home > Software engineering >  The HTTP request
The HTTP request

Time:10-21

Hi,

C + + beginners, I would like to own encapsulate some HTTP functions in a DLL (such as: Post, Get), should be how to start? Or can be used with third-party libraries.


CodePudding user response:

Personal advice, don't do meaningless encapsulates,
The open source era is now!

CodePudding user response:

Windows provides two HTTP library, wininet and winhttp
There are some cross-platform open source libraries libcurl
And some integrated HTTP libraries in other frameworks, such as QT QtNetwork, POCO POCO: : Net

CodePudding user response:

Detailed documentation rfc2616 HTTP protocol

CodePudding user response:

reference 1st floor zhao4zhong1 response:
personal advice, don't do meaningless encapsulation,
The open source era is now!


Just want to practice and learn the basic knowledge, ha ha

CodePudding user response:

Andylauxing
reference 4 floor response:
Quote: refer to 1st floor zhao4zhong1 response:

Personal advice, don't do meaningless encapsulates,
The open source era is now!


Just want to practice and learn the basic knowledge, ha ha


Then look at DLL programming information, online a lot of,
To create a DLL project, step by step to write code,

CodePudding user response:

If you want to learn basic knowledge, you look to the HTTP protocol document, come back, you still won't use what you wrote, suggest libcurl, Windows, Linux all can use

CodePudding user response:

If only the get and post has a wrapper class

CodePudding user response:

The
reference 7 floor kusanagiya response:
if only post and get has a wrapper class

Which kind of ah?

CodePudding user response:

MicrosoftSDKs \ Windows \ v7.1 \ Samples \ web \ winhttp

CodePudding user response:

In fact, I think in c + + is a follow-up to the public to do a simple news sent WeChat messages, but the first cloth will Htttp Post first
  • Related