Rev 7753 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed
\name{complete}\alias{complete}\alias{complete,MultiCURLHandle-method}\title{Complete an asynchronous HTTP request}\description{This is a generic function that is used within theRCurl package to force the completion of anHTTP request. If the request is asynchronous,this essentially blocks until the request is completedby repeatedly asking for more information to beretrieved from the HTTP connection.}\usage{complete(obj, ...)}%- maybe also 'usage' for other objects documented here.\arguments{\item{obj}{the object which is to be completed. This is typically a\code{\link{MultiCURLHandle-class}} instance.}\item{\dots}{additional arguments intended to be used by specific methods.}}\value{The value is typically not of interest, but rather the side effectof processing the pending requests.}\references{\url{https://curl.se/}, specifically the multi interface of libcurl.}\author{Duncan Temple Lang}\seealso{\code{\link{MultiCURLHandle-class}}\code{\link{push}}, \code{\link{pop}}}\examples{\dontrun{# it does not existif(url.exists("http://eeyore.ucdavis.edu/cgi-bin/testForm1.pl")) {f = system.file("NAMESPACE", package = "RCurl")postForm("http://eeyore.ucdavis.edu/cgi-bin/testForm1.pl","fileData" = fileUpload(f))postForm("http://eeyore.ucdavis.edu/cgi-bin/testForm1.pl","fileData" = fileUpload("",paste(readLines(f), collapse = "\n"),"text/plain"))postForm("http://eeyore.ucdavis.edu/cgi-bin/testForm1.pl","fileData" = fileUpload(f,paste(readLines(f), collapse = "\n")),.opts = list(verbose = TRUE, header = TRUE))}}}\keyword{IO}