restart: Restart your Couchdb instance

Description Usage Arguments Value Examples

View source: R/restart.R

Description

Restart your Couchdb instance

Usage

1
restart(cushion = "localhost", as = "list", ...)

Arguments

cushion

A Cushion object. Required.

as

(character) One of list (default) or json

...

Curl args passed on to one of the HTTP verbs (e.g,. GET, POST, PUT, etc.)

Value

JSON as a character string or a list (determined by the as parameter)

Examples

1
2
3
4
5
6
## Not run: 
(x <- Cushion$new())

# restart(x)

## End(Not run)

sofa documentation built on May 29, 2017, 3:55 p.m.

Search within the sofa package
Search all R packages, documentation and source code