wc_timeout: Change default request timeout

View source: R/wc-options.R

wc_timeoutR Documentation

Change default request timeout

Description

Change default request timeout

Usage

wc_timeout(wc_obj, timeout)

Arguments

wc_obj

a webclient object

timeout

timeout (ms); The timeout is used twice. The first is for making the socket connection, the second is for data retrieval. If the time is critical you must allow for twice the time specified here.

Value

the webclient object (invisibly)

Note

The caller does not have to assign the output of this function to a variable as the browser state is managed internally by HtmlUnit.

See Also

Other wc_opts: wc_css(), wc_dnt(), wc_geo(), wc_img_dl(), wc_resize(), wc_use_insecure_ssl(), wc_wait()


hrbrmstr/htmlunit documentation built on July 4, 2025, 12:45 a.m.