HttpClientService: HttpClientService

HttpClientServiceR Documentation

HttpClientService

Description

HttpClientService

HttpClientService

Methods

Public methods


Method new()

Usage
HttpClientService$new(baseRestUri, client)

Method onResponseError()

Usage
HttpClientService$onResponseError(response, msg = "")

Method toTson()

Usage
HttpClientService$toTson(object)

Method fromTson()

Usage
HttpClientService$fromTson(object)

Method getServiceUri()

Usage
HttpClientService$getServiceUri(uri, ...)

Method create()

Usage
HttpClientService$create(object)

Method get()

Usage
HttpClientService$get(id, useFactory = TRUE)

Method delete()

Usage
HttpClientService$delete(id, rev)

Method update()

Usage
HttpClientService$update(object)

Method list()

Usage
HttpClientService$list(ids, useFactory = TRUE)

Method findStartKeys()

Usage
HttpClientService$findStartKeys(
  viewName,
  startKey = NULL,
  endKey = NULL,
  limit = 20,
  skip = 0,
  descending = TRUE,
  useFactory = FALSE
)

Method findKeys()

Usage
HttpClientService$findKeys(viewName, keys = NULL, useFactory = FALSE)

Method clone()

The objects of this class are cloneable with this method.

Usage
HttpClientService$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.


tercen/teRcenApi documentation built on Feb. 8, 2024, 5:59 p.m.