ocsRequest {ocs4R} | R Documentation |
ocsRequest
R6Class
object.
Object of R6Class
for modelling a generic 'ocs' web-service request
new(type, url, request, user, pwd, token, cookies,
format, namedParams, content, contentType, filename, logger, ...)
This method is used to instantiate a object for doing an 'ocs' web-service request
getRequest()
Get the request payload
getRequestHeaders()
Get the request headers
getStatus()
Get the request status code
getResponse()
Get the request response
getException()
Get the exception (in case of request failure)
getResult()
Get the result TRUE
if the request is successful, FALSE
otherwise
Abstract class used internally by ocs4R
Emmanuel Blondel <emmanuel.blondel1@gmail.com>