The event loop must be already running. In other words, you can only call this function from async functions.
http_setopt(total_con = NULL, host_con = NULL, multiplex = NULL)
They are passed to
curl::multi_set()
. If an argument is NULL
(the default) then it is
ignored.
The default values are set when the first deferred HTTP operation of the
event loop is created, and they are taken from the async_http_total_con
,
async_http_host_con
and async_http_multiplex
options.