Skip to content

an asynchronous/synchronous http client for c++11 supporting Windows.

Notifications You must be signed in to change notification settings

alireza7991/AlirezaHttpClient

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

AlirezaHttpClient

header-only asynchronous/synchronous http client for c++11 supporting Windows.

Simple example:

try {
	AlirezaHttpClient a;
	a.setMethod(AlirezaHttpClient::GET);
	a.setParam("license", "12345");
	a.setPath("/Service_Portal.asmx/ReceiveANPR");
	a.sendAsync("www.sku.ac.ir", [] (string header,string body) { cout << header << endl << body });
	a.waitForResult();
}
catch (runtime_error e) {
	cout << e.what() << endl;
}

Multi-part http request and POST request are in WIP (work in progress).

About

an asynchronous/synchronous http client for c++11 supporting Windows.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages