Skip to content
forked from kni/sml-curl

libcurl for Standard ML and http client with asynchronous support (via sml-ev)

Notifications You must be signed in to change notification settings

pclayton/sml-curl

 
 

Repository files navigation

sml-curl - libcurl for Standard ML and http client with asynchronous support (via sml-ev)

It is for Poly/ML and MLton, *BSD and Linix.

 curl-{poly,mlton}.sml - Curl, Curl.Easy, Curl.Multi structures
 curl-conts.sml        - CurlConst - curl constants
 curl-ev.sml           - integration with Ev (https://github.com/kni/sml-ev)
 curl-http.sml         - http client with with the possibility to use curl-ev
 t.sml                 - example of using curl-http
 t-ev.sml              - example of asynchronous using curl-http

To use asynchronous curl-http you should get https://github.com/kni/sml-ev (make ev).

To build all test - make poly mlton ev-poly ev-mlton.
For Linux: replace kqueue on epoll in t-ev.sml.

Files for build t.sml and t-ev.sml:
poly)  t-poly.sml and t-ev-poly.sml
mlton) t.mlb, t-ev.mlb and main.sml

About

libcurl for Standard ML and http client with asynchronous support (via sml-ev)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Standard ML 98.9%
  • Makefile 1.1%