Skip to contents

PHGServerCon is the primary container for housing BrAPI connection information.

Usage

PHGServerCon(
  host,
  port = NULL,
  protocol = c("https", "http"),
  version = c("v2", "v1")
)

Arguments

host

A user defined URL

port

The host port. If NULL, a default port (e.g. 80 or 443) will be used depending on protocol.

protocol

Which protocol must be used to fetch the desired data? Must be either http or https. Defaults to http.

version

BrAPI version number. Must be either "v1" or "v2". Defaults to v2.

Value

A PHGServerCon object.