getRCurlContent: Get URL content using RCurl::getURL().

View source: R/fcts_url.R

getRCurlContentR Documentation

Get URL content using RCurl::getURL().

Description

Get URL content using RCurl::getURL().

Usage

getRCurlContent(
  u,
  opts = NULL,
  enc = integer(),
  header.fct = NULL,
  ssl.verifypeer = TRUE,
  method = c("get", "post"),
  binary = FALSE
)

Arguments

u

The URL as a character value.

opts

A valid RCurl options object.

enc

The encoding.

header.fct

An RCurl header gatherer function.

ssl.verifypeer

Set to TRUE to enable SSL verify peer.

method

The HTTP method to use, either 'get' or 'post'.

binary

Set to TRUE if the content to be retrieved is binary.

Value

The URL content as a character single value.


pkrog/biodb documentation built on Nov. 29, 2022, 4:24 a.m.