cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: PUT data (not file) - can't make it work

From: Stephen Collyer <scollyer_at_netspinner.co.uk>
Date: Wed, 12 Mar 2008 10:13:24 +0000

Daniel Stenberg wrote:

> Just note that C++ methods needs to be static to be able to serve as
> callbacks directly.

It's fairly easy to use non-static methods as callbacks, however.
I posted the details of how to do so in a thread called:

"Re: How to retrieve "context" information in write/read callbacks?"

on 02/07/2008.

It relies on the Boost function wrapper library.

-- 
Regards
Steve Collyer
Netspinner Ltd
Received on 2008-03-12