handleAPIresponse {crunch} | R Documentation |
Do the right thing with the HTTP response
Description
Do the right thing with the HTTP response
Usage
handleAPIresponse(response, special.statuses = list(), progress.handler = NULL)
Arguments
response |
an httr response object |
special.statuses |
an optional named list of functions by status code. |
progress.handler |
an optional function to handle errors reported by
a progress result. Default NULL prints the string |
Value
The full HTTP response object, just the content, or any other status-specific action
[Package crunch version 1.31.0 Index]