PHGServerCon: PHGServerCon object constructor

View source: R/class_phg_con_server.R

PHGServerConR Documentation

PHGServerCon object constructor

Description

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.


maize-genetics/rPHG documentation built on April 4, 2024, 11:18 p.m.