libhttp icon indicating copy to clipboard operation
libhttp copied to clipboard

How to embed it ?

Open kktos opened this issue 5 years ago • 3 comments

Hi there, I'm interested by embedding the lib into my app but I'm afraid the documention is clearly out of date. Any help would be welcome :) Cheers.

kktos avatar Oct 03 '19 09:10 kktos

Hi whats the platform/target?

evilsalvo avatar Oct 08 '19 14:10 evilsalvo

Hi Salvo. Platform's windows. Anyway, I've noticed there's an old version, the 1.8, which works like a charm. I suppose the current is still a WIP.

kktos avatar Oct 08 '19 14:10 kktos

Hey kktos.

I was using this for its websocket support as well as usual webserver functionality....

I was able to get the latest and greatest working with QNX 6.6, by changing the function signature of the examples he provided with the latest actual API.... will try with Windows in my spare time. The main changes were just renames on his structures, and the use of ctx as passed parameters in his examples.

I couldn't get the c process client example working though, no errors just no connection. Though websocket clients work through a chrome browser fine.

Though you gave me an idea I might try the older code before he forked it to libhttp to see if it returns any useful error info.

evilsalvo avatar Oct 08 '19 16:10 evilsalvo