powered by
Ping a CouchDB server
ping(cushion, as = "list", ...)
A Cushion object. Required.
Cushion
(character) One of list (default) or json
Curl args passed on to HttpClient
HttpClient
JSON as a character string or a list (determined by the as parameter)
as
# NOT RUN { # initialize a CouchDB connection (x <- Cushion$new()) ping(x) ping(x, as = "json") # }
Run the code above in your browser using DataLab