Skip to content
forked from mfichman/http

Windows kernel drivers simple HTTP library for modern C++

License

Notifications You must be signed in to change notification settings

MeeSong/WskHttp

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WskHttp

Windows kernel drivers simple HTTP library for modern C++. Fork of http. Here's the basic usage:

status = WskHttp::startup();
if (!NT_SUCCESS(status)) {
	DbgPrint("WskHttp::startup error %X\n", status);
	return status;
}

WskHttp::Result result_get = WskHttp::get("http://192.168.0.105:8000");
if (NT_SUCCESS(result_get.status())) {
	DbgPrint("%s\n", result_get.response().data().c_str());
} else {
	DbgPrint("WskHttp::get error %X\n", result_get.status());
}

WskHttp::Result result_post = WskHttp::post("http://192.168.0.105:8000",
	"something to post"
);
if (NT_SUCCESS(result_post.status())) {
	DbgPrint("%s\n", result_post.response().data().c_str());
} else {
	DbgPrint("WskHttp::post error %X\n", result_get.status());
}

WskHttp::cleanup();

About

Windows kernel drivers simple HTTP library for modern C++

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 100.0%