options. Defining session's options

^curl:options[options

Method must be called within a curl session only. When the method sets options the following file loading calls within the session will use these options until options will be redefined in file loading method or by another method's call. But if it is required to specify a path to the libcurl library, it is necessary to do it before using the curl.

Example
^curl:options[

   $.library[libcurl.so.4]
]
^curl:session{
   ^curl:options[
      $.charset[UTF-8]
      $.timeout(10)
   ]
   
}




Copyright © 1997–2025 Art. Lebedev Studio | http://www.artlebedev.com Last updated: 10.11.2021