Skip to main content

interp_url

Function interp_url 

Source
fn interp_url(
    args: &[RValue],
    named: &[(String, RValue)],
    context: &BuiltinContext<'_>,
) -> Result<RValue, RError>
Expand description

Create a URL connection.

Opens an HTTP or HTTPS connection to the specified URL. The connection can be read with readLines(). Only “r” (read) mode is supported.

When opened, the connection performs an HTTP GET request and buffers the response body for subsequent reads.

@param description character scalar: the URL to connect to @param open character scalar: open mode (“” or “r”) @return integer scalar with class “connection”