https://github.com/ygrek/ocurl
OCaml bindings to libcurl
https://github.com/ygrek/ocurl
libcurl ocaml ocaml-bindings
Last synced: about 2 months ago
JSON representation
OCaml bindings to libcurl
- Host: GitHub
- URL: https://github.com/ygrek/ocurl
- Owner: ygrek
- License: mit
- Created: 2013-01-29T01:40:37.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2025-03-19T21:08:11.000Z (2 months ago)
- Last Synced: 2025-03-30T02:08:59.428Z (2 months ago)
- Topics: libcurl, ocaml, ocaml-bindings
- Language: C
- Homepage: https://ygrek.org/p/ocurl
- Size: 1.23 MB
- Stars: 59
- Watchers: 8
- Forks: 35
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGES.txt
- License: COPYING
Awesome Lists containing this project
- awesome-list - ocurl
README
# ocurl - OCaml libcurl bindings
[](https://github.com/ygrek/ocurl/actions/workflows/main.yml?branch=master)
[](https://ocaml.ci.dev/github/ygrek/ocurl)Homepage: https://ygrek.org/p/ocurl
OCaml bindings to libcurl - client-side URL transfer library, supporting
HTTP and a multitude of other network protocols. This is a continuation
of the ocurl project by Lars Nilsson, previously hosted at
.NB: the historical project name is `ocurl`, but the opam package and the
OCaml library name is `curl` (there exists a transitional dummy `ocurl`
opam package for compatibility).Minimum supported libcurl version: 7.28.0 (Oct 10 2012).
## Build
``` shell
dune build
# or
make
```## Adding new libcurl symbol
1. Add the new symbol in [`config/discover.ml`](./config/discover.ml);
2. Edit [`curl-helper.c`](./curl-helper.c) and [`curl.ml`](./curl.ml),
[`curl.mli`](./curl.mli) accordingly.----
ygrek at autistici dot org