Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement Lua-cURL interface. #2

Closed
4 of 5 tasks
moteus opened this issue Aug 29, 2014 · 2 comments
Closed
4 of 5 tasks

Implement Lua-cURL interface. #2

moteus opened this issue Aug 29, 2014 · 2 comments

Comments

@moteus
Copy link
Member

moteus commented Aug 29, 2014

Need to implement

  • perform functions for easy/multi
  • post function for easy interface
  • string names for options values
  • streams for easy:post()
  • ???
cURL = require "lcurl.cURL"
...

@msva Have you interest to help implement/test this.

@msva
Copy link
Contributor

msva commented Aug 29, 2014

Yup, I'm interested. Although, I'm too busy on current work to actively participate in developing (although, I ready for discussions, testing and tasks that don't take much time to implement).

@moteus
Copy link
Member Author

moteus commented Aug 31, 2014

I think lcurl.cURL module implement full interface of cURL wiht some incompatibility:

  • multi:perform() also returns ("done",true) and ("error", error) records
  • objects are tables instead of userdatas
  • writer callback does not recv string len (just string itself)

So I think you can test existing code.
Also any suggestions about API are welcome.
Also may be you can halp with build scripts to other platforms. (I use only Windows).

@moteus moteus closed this as completed Apr 16, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants