Re: How to Diagnose http_get() Error (Returning -2)

new topic     » goto parent     » topic index » view thread      » older message » newer message
euphoric said...
jmduro said...

All of this is already working in Eu3 Standard Library and Eu4 Standard Library, and it is free! You get libcurl, wininet and winhttp which all support HTTPS. You get even all Win32 errors description and it is ready for 64 bits too.

Where is the documentation? Or how do I use it? I can't find an index.html file in the html folder.

  • Curl is made of lib/_curl_constants_.e and lib/_curl_.e
  • Documentation is lib/html/_curl_.html
  • Usage is shown in lib/test/test_curl_.exw (.ex in Eu 4). libcurl.dll is there also.

The big differences between this version and the original eulibcurl are:

  • _curl_e is based on libcurl 7.50.3 C source code, eulibcurl is based on 7.45.0
  • most important constants and functions have been wrapped in eulibcurl, all constants and functions have been wrapped in _curl_.e
  • _curl_.e can be used behind a proxy, eulibcurl cannot be used behind a proxy
  • following functions have been added to help beginners use libcurl in _curl_.e
    • procedure curl_easy_setopt(atom curl, integer option, object param)
    • function curl_easy_getinfo(atom curl, integer option)
    • function curl_extract_cookies( sequence headers, sequence optional )
    • function curl_extract_csrf_token( sequence content )
    • function curl_get(atom curl, sequence url)
    • function curl_post(atom curl, sequence url, object data)
    • function curl_delete(atom curl, sequence url)

Jean-Marc

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu