get_response_body: Retrieve the body content of a HAR entry

Description Usage Arguments Value See Also

View source: R/helpers.r

Description

Retrieve the body content of a HAR entry

Usage

1
get_response_body(har_resp_obj, type = c("raw", "text"))

Arguments

har_resp_obj

HAR response object

type

return type. If raw (default) then a raw vector of the content is returned. If text then a character vector.

Value

A raw vector of the content or NULL or a character if type == text

See Also

Other splash_har_helpers: get_content_size(), get_content_type(), get_har_entry(), get_header_val(), get_headers(), get_request_type(), get_request_url(), get_response_url(), har_entry_count()


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