ygrek / ocurl

OCaml bindings to libcurl
https://ygrek.org/p/ocurl
MIT License
60 stars 32 forks source link

Async support? #32

Closed sgrove closed 3 years ago

sgrove commented 6 years ago

Curious re:

  1. What it would take to get Async support?
  2. If it would be wise to replace Cohttp_async.Client with ocurl usage?

I need to be able to use external proxies (https://github.com/mirage/ocaml-cohttp/issues/515) and would love to piggyback on libcurl with an async interface!

ygrek commented 6 years ago

I have no idea about Async, so very unlikely to work on it. I imagine there are several ways: