| RequestResult | R Documentation |
Class RequestResult.
Class RequestResult.
Represents the result of a request.
new()New instance initializer.
RequestResult$new( content = NULL, retry = FALSE, errMsg = NULL, status = 0, statusMessage = "", retryAfter = NULL, location = NULL )
contentThe result content.
retryIf request should be resent.
errMsgError message.
statusHTTP status.
statusMessageStatus message.
retryAfterTime after which to retry.
locationNew location.
Nothing.
getContent()Get content.
RequestResult$getContent()
The content as a character value or NULL.
getRetry()Get the retry flag.
RequestResult$getRetry()
TRUE if the URL request should be sent again, FALSE otherwise.
getErrMsg()Get the error message.
RequestResult$getErrMsg()
The error message as a character value or NULL.
getStatus()Get the HTTP status of the response.
RequestResult$getStatus()
The status as an integer.
getRetryAfter()Get the time to wait before retrying.
RequestResult$getRetryAfter()
The time.
getLocation()Get the redirect location.
RequestResult$getLocation()
The redirect location as a character value or NULL.
processRequestErrors()Process possible HTTP error.
RequestResult$processRequestErrors()
Nothing.
clone()The objects of this class are cloneable with this method.
RequestResult$clone(deep = FALSE)
deepWhether to make a deep clone.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.