Skip to content
Switch branches/tags
Go to file
Cannot retrieve contributors at this time

ocurl - OCaml libcurl bindings

Build Status Build status


OCaml bindings to libcurl - client-side URL transfer library, supporting HTTP and a multitude of other network protocols. This is a continuation of ocurl project by Lars Nilsson, previously hosted at

Minimum supported libcurl version : 7.28.0

Building on Windows with ocaml/msvc



Edit Makefile.msvc and make CURLDIR variable point to the root directory of libcurl installation. Copy to config.h.

Compile with make -f Makefile.msvc. Install with make -f Makefile.msvc install. Compile examples with make -f Makefile.msvc examples.

Adding new libcurl symbol

  • add symbol in
  • autoreconf
  • make clean
  • ./configure
  • edit curl-helper.c and*

Making release

  • Check make gen with latest libcurl
  • Update CHANGES.txt
  • Update version in
  • autoreconf
  • commit
  • ./configure && make release

ygrek at autistici dot org