An open API service indexing awesome lists of open source software.

https://github.com/lagunoff/libcurl

Incomplete Haskell bindings to libcurl
https://github.com/lagunoff/libcurl

Last synced: 3 months ago
JSON representation

Incomplete Haskell bindings to libcurl

Awesome Lists containing this project

README

        

Wrote a wrapper for libcurl for a specific use case, the bindings are
incomplete. Needed libcurl because http-client couldn't send HTTP2
requests

```hs
import LibCurl

main = do
curl_global_init cURL_GLOBAL_DEFAULT
resp <- curl CurlRequest
{ url = "https://freetestapi.com/api/v1/countries"
, method = CurlGET
, headers = ["Accept: application/json"]
}
print resp
curl_global_cleanup
```