Closed vymao closed 4 months ago
I'm curious how WriteCallback functions exactly. If send multiple requests synchronously with a WriteCallback, does cpr call WriteCallback in a separate thread? Or will my function block until each request receives a callback in order?
WriteCallback
cpr
It's basically a wrapper around CURLOPT_WRITEFUNCTION. More information is available here: https://curl.se/libcurl/c/CURLOPT_WRITEFUNCTION.html
CURLOPT_WRITEFUNCTION
I'm curious how
WriteCallback
functions exactly. If send multiple requests synchronously with a WriteCallback, doescpr
callWriteCallback
in a separate thread? Or will my function block until each request receives a callback in order?