Use libcurl (client-side URL transfer library) API in Perl 6
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
examples More new API example ideas using given May 9, 2017
lib/Net Less code May 9, 2017
logotype Add module logo Mar 14, 2016
t One more test for nativecall Mar 17, 2016
.gitignore Simplify .gitignore Mar 14, 2016
.travis.yml
LICENSE
META6.json Update META.json: sort keys, add missing fields, depend on 6.* May 9, 2017
README.md Switch to zef package manager (bye bye deprecated panda) May 9, 2017
appveyor.yml Update test matrix May 9, 2017

README.md

Net::Curl

Net::Curl provides a Perl 6 interface to libcurl. The plan is support the libcurl Easy interface first and run all the libcurl website examples and then support an object-oriented interface.

libcurl is a free and easy-to-use client-side URL transfer library. It supports DICT, FILE, FTP, FTPS, Gopher, HTTP, HTTPS, IMAP, IMAPS, LDAP, LDAPS, POP3, POP3S, RTMP, RTSP, SCP, SFTP, SMTP, SMTPS, Telnet and TFTP. libcurl supports SSL certificates, HTTP POST, HTTP PUT, FTP uploading, HTTP form based upload, proxies, cookies, user+password authentication (Basic, Digest, NTLM, Negotiate, Kerberos), file transfer resume, http proxy tunneling and more!

Build Status

Operating System Build Status CI Provider
Linux / Mac OS X Build Status Travis CI
Windows 7 64-bit Build status AppVeyor

Installation

  • Since Net::Curl uses libcurl, libcurl.so must be found in /usr/lib. To install libcurl on Debian for example, please use the following command:
$ sudo apt-get install libcurl3-dev
  • On Mac OS X, Please use the following command:
$ brew install curl
  • Using zef (a module management tool bundled with Rakudo Star):
$ zef install Net::Curl

Testing

To run tests:

$ prove -e "perl6 -Ilib"

Author

Ahmad M. Zawawi, azawawi on #perl6, https://github.com/azawawi/

License

MIT License