Re: FFI, cURL and function callback

  • From: "Vadim A. Misbakh-Soloviov" <mva@xxxxxxxx>
  • To: luajit@xxxxxxxxxxxxx
  • Date: Sun, 31 Mar 2013 12:56:47 +0700

Hey, list!
Sorry, I don't read all the thread, but just want to ask. Doesn't author
of the thread (and other guys, who need cURL) want to use
https://msva.github.com/lua-curl ? :)

24.03.2013 19:32, pingon begand пишет:
> Hello everyone !
> 
> I have a lot of codes that depends on luasocket, however it looks to be
> unmaintained anymore. I am thinking to switch to the cURL library thanks to
> the FFI LuaJIT is offering.
> 
> I want to use the cURL library in order to retrieve some website contents
> as strings. However one need to have a function callback in order to do
> this. Is this possible to achieve such things with plain LuaJIT and FFI?
> 
> Here is a C example :
> http://stackoverflow.com/questions/2329571/c-libcurl-get-output-into-a-string
> 
> Thanks a lot for your help !
> 


Attachment: signature.asc
Description: OpenPGP digital signature

Other related posts: