splash_response_body: Enable or disable response content tracking.

Description Usage Arguments See Also Examples

View source: R/dsl.r

Description

By default Splash doesn’t keep bodies of each response in memory, for efficiency reasons.

Usage

1
splash_response_body(splash_obj, enable = FALSE)

Arguments

splash_obj

splashr object

enable

logical

See Also

Other splash_dsl_attributes: splash_enable_javascript(), splash_images(), splash_plugins(), splash_private_mode()

Examples

1
2
3
4
5
6
7
8
9
## Not run: 
splash_local %>%
  splash_response_body(TRUE) %>%
  splash_user_agent(ua_macos_chrome) %>%
  splash_go("https://rud.is/b") %>%
  splash_wait(2) %>%
  splash_har() -> rud_har

## End(Not run)

hrbrmstr/splashr documentation built on Feb. 23, 2020, 2:13 p.m.