bindings to libcurl, the multiprotocol file transfer library

Latest on Hackage:0.1.6

This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow to host generated Haddocks.

OtherLicense licensed and maintained by Krzysztof Kardzis

Network.CURL Hackage Build Status

Package curlhs provides a mid-level Haskell interface to libcurl, the multiprotocol file transfer library which powers the popular tool curl (please see for more info about curl and libcurl).


More info about curlhs, such as tutorials or examples, may be found in the docs section. Please check out the short tutorial about installation and basic usage of curlhs and libcurl.



Change Log (curlhs)

Release 0.1.6 2015-05-20


  • Support for CURLOPT_HEADERFUNCTION added (Issue #5).
  • Change log added.


  • Requirement to explicit use of loadlib/freelib removed. The process of loading and initializing libcurl is automatically performed when curlhs is loaded/linked, and the process of cleanup and unloading is performed when curlhs is unloaded/unlinked. Indirectly inspired by the discussion on Issue #3.

  • Tests, examples and documentation updated accordingly.


  • Module Network.CURL000 and its contents (loadlib/freelib etc.) will be removed in the future versions.


  • Fixed bug which caused segfaults when more than one callback type or slist type option was used on the same handle.

Release 0.1.5 2015-04-27


  • Tests updated for newer hspec package version (Issue #4).

Release 0.1.4 2015-04-23


  • Building errors on OS X platform fixed (Issue #2).
  • Large negative literals warning fixed.
  • GHC 7.10 warnings fixed.

Release 0.1.3 2014-10-03


  • Documentation links fixed.

Release 0.1.2 2014-10-02


  • Documentation browser added (simple markdown viewer).
  • Short tutorial and few simple examples added.
  • Basic test suite added.


  • CURLOPT_SSL_VERIFYHOST option type changed to Bool.

Release 0.1.1 2014-08-14


  • Version boundaries for base package added.

Release 0.1.0 2014-08-14

  • Almost complete rewrite. All before is a dark history.

Depends on 4 packages:
Used by 1 package:
comments powered byDisqus