by codedokode · 2y ago · 0 comments
Furthermore, it seems to use "set option" function with magic values to control in-memory cookie storage which is even weirder: https://curl.se/libcurl/c/CURLOPT_COOKIELIST.html
Also, curl seems to have no built-in function to save data? The user has to implement write callback themselves?
Also, regarding options, curl uses a single function for setting options of different types (numbers, booleans, strings) so typing for an option value cannot be used. Is that a good idea? What C developers usually use in such cases?