wc_timeout: Change default request timeout

Description Usage Arguments Value Note See Also

View source: R/wc-options.R

Description

Change default request timeout

Usage

1
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 Aug. 19, 2020, 3:05 p.m.