Tools to Work with the 'Splash' JavaScript Rendering Service in R
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

splash_response_body.Rd 854B

123456789101112131415161718192021222324252627282930313233
  1. % Generated by roxygen2: do not edit by hand
  2. % Please edit documentation in R/dsl.R
  3. \name{splash_response_body}
  4. \alias{splash_response_body}
  5. \title{Enable or disable response content tracking.}
  6. \usage{
  7. splash_response_body(splash_obj, enable = FALSE)
  8. }
  9. \arguments{
  10. \item{splash_obj}{splashr object}
  11. \item{enable}{logical}
  12. }
  13. \description{
  14. By default Splash doesn’t keep bodies of each response in memory, for efficiency reasons.
  15. }
  16. \examples{
  17. \dontrun{
  18. splash_local \%>\%
  19. splash_response_body(TRUE) \%>\%
  20. splash_user_agent(ua_macos_chrome) \%>\%
  21. splash_go("https://rud.is/b") \%>\%
  22. splash_wait(2) \%>\%
  23. splash_har() -> rud_har
  24. }
  25. }
  26. \seealso{
  27. Other splash_dsl_attributes: \code{\link{splash_enable_javascript}},
  28. \code{\link{splash_images}},
  29. \code{\link{splash_plugins}},
  30. \code{\link{splash_private_mode}}
  31. }
  32. \concept{splash_dsl_attributes}