process_httr_response: Process HTTP Responses

Description Usage Arguments Value

View source: R/helpers.R

Description

This function performs basic error handling and parsing of httr httr::response() objects returned from Hue API requests.

Usage

1

Arguments

x

an httr httr::response() object

...

parameters passed to jsonlite::fromJSON()

Value

Returns response content, parsed into an R-friendly list.


fascinatingfingers/PhilipsHue documentation built on Nov. 25, 2019, 2:22 a.m.