Re: https convenient client
Gerd Stolpmann <[email protected]> Wed, 21 Nov 2007 16:20:09 +0100
| Newsgroups | gmane.comp.lang.ocaml.lib.net.devel |
|---|---|
| Message-ID | <[email protected]> |
Am Mittwoch, den 21.11.2007, 15:28 +0100 schrieb Romain Beauxis: > Hi all ! > > > I've been playing with ocamlnet recently, and I really lack a simple https > client. > > I'll be trying to implement this using netclient and equeue-ssl, but if you > could give me some basic hints on how to use equeues and current netclient > functions to handle http it would save me some time as I don't get well how > equeues integrate within netclient.. > > Of course, I'll contribute it to the module when it's done :-) This is a challenging task! Netclient currently doesn't use the multiplex_controller abstraction on top of which equeue-ssl is built. So you'll probably have to rewrite netclient so it uses this abstraction. Also note that the netclient code is aged, and is hard to understand. It uses equeues directly, and this makes the code badly structured, at least the part that deals with the equeues. But if you see a simple solution I would be very glad to integrate it. I don't have time to do this in the foreseeable future. Gerd -- ------------------------------------------------------------ Gerd Stolpmann * Viktoriastr. 45 * 64293 Darmstadt * Germany [email protected] http://www.gerd-stolpmann.de Phone: +49-6151-153855 Fax: +49-6151-997714 ------------------------------------------------------------ ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/