emilw / HttpClient

A cross platform HTTP client written in C++ based on raw sockets
13 stars 4 forks source link

Why not continued? #1

Open IngwiePhoenix opened 8 years ago

IngwiePhoenix commented 8 years ago

I am crawling over Github, trying to find a cross-platform HTTP client without having to spend all day writing a build script for cURL, so I came here :).

But when I saw this, i was kinda sad, because this library looks really promising to me!

Any chance youll be continuing this?

emilw commented 8 years ago

Hi, The library was mainly written to see how the sockets in *nix and Windows works so it's not fully functional in anyway. But for the comment regarding the cross platform, it should work to run GET HTTP calls in both windows and Linux/Mac OS x. I saw that the part you pointed out in the code was an old "print out" while i was testing the Make Macros to make the selection what code to compile. If you see here: https://github.com/emilw/HttpClient/blob/master/source/TCPClient.cpp#L181-L187 The calls are made for each OS type.

You can test it with: HttpClient www.google.com or ./HttpClient www.google.com

My next items was to implement POST/PUT/DELETE etc. and also support for Open SSL but i have two kids and a full time job, so it's hard to keep any speed :-(