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.

34 lines
977 B

% Generated by roxygen2: do not edit by hand
4 years ago
% Please edit documentation in R/helpers.R
\name{get_response_body}
\alias{get_response_body}
\title{Retrieve the body content of a HAR entry}
\usage{
get_response_body(har_resp_obj, type = c("raw", "text"))
}
\arguments{
\item{har_resp_obj}{HAR response object}
\item{type}{return type. If \code{raw} (default) then a raw vector of the content is returned.
If \code{text} then a character vector.}
}
\value{
A \code{raw} vector of the content or \code{NULL} or a \code{character} if \code{type} == \code{text}
}
\description{
Retrieve the body content of a HAR entry
}
6 years ago
\seealso{
Other splash_har_helpers:
\code{\link{get_content_size}()},
\code{\link{get_content_type}()},
\code{\link{get_har_entry}()},
\code{\link{get_header_val}()},
\code{\link{get_headers}()},
\code{\link{get_request_type}()},
\code{\link{get_request_url}()},
\code{\link{get_response_url}()},
\code{\link{har_entry_count}()}
6 years ago
}
5 years ago
\concept{splash_har_helpers}