process_response: Process a raw httr response and return an object of class...

View source: R/ptv-verbs.R

process_responseR Documentation

Process a raw httr response and return an object of class ptv_api

Description

This S3 object returned by this function contains three elements:

  • status_code, as an integer

  • request, which is the request URL without authentication details

  • content, the unparsed body of the response

Usage

process_response(response, request_url_without_auth)

Arguments

response

A raw response generated by the httr package

request_url_without_auth

Character. The request url, without devid and signature

Value

An S3 object of class ptv_api


ptvapi documentation built on Aug. 15, 2022, 5:09 p.m.