From: Glyn M. <gly...@gm...> - 2008-09-02 13:49:54
|
Hi Divye, 2008/9/2 Divye Kapoor <div...@gm...> > > > On Tue, Sep 2, 2008 at 6:27 PM, Glyn Matthews <gly...@gm...>wrote: > >> >> >> More examples :) >> > > I've written a simple dispatch table kind of function to illustrate string > based dispatch to the http::client. I don't know how to structure this as a > real world example. Should I try merging the dispatch table code with the > http_client example so that it handles different methods (say by having a > command line argument --method GET/POST/PUT etc.) or keep it separate? > Please keep it separate. I've added a section to the docs which walks through the http_client example, so its best to keep this as simple as possible. G |