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)

Arguments

total_con, host_con, multiplex

They are passed to curl::multi_set(). If an argument is NULL (the default) then it is ignored.

Details

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.

See also

Other asyncronous HTTP calls: http_get(), http_head()