Quick question. I noticed when I built the library, it didn't move mhd_sockets.h into the includes. That file contains all the MHD_send_/MHD_recv_ macros used in the websockets unit test. Am I supposed to re-implement the functions/macros found in there, or am I supposed to include that code with my project? I know I could just snip out the code and use it, but for forward compatibility I'd like to know, from the devs, how I should proceed for the least number of future-headaches.
~J On Tue, Mar 7, 2017 at 1:01 PM, Christian Grothoff <[email protected]> wrote: > We've not yet updated the tutorial, but maybe the test case helps? > > https://gnunet.org/git/libmicrohttpd.git/tree/src/ > microhttpd/test_upgrade.c > > > On 03/03/2017 08:37 PM, John Duncan wrote: > > I was reading somewhere that websockets have been added to the library? > If > > so, is there any example code on how to use them with the library? I > have > > a webserver working so I don't need a full example, just how to upgrade a > > connection on a callback. > > > > > > Thanks > > > >
