EVOLUTION-MANAGER
Edit File: httr_options.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>R: List available options.</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <link rel="stylesheet" type="text/css" href="R.css" /> </head><body> <table width="100%" summary="page for httr_options {httr}"><tr><td>httr_options {httr}</td><td style="text-align: right;">R Documentation</td></tr></table> <h2>List available options.</h2> <h3>Description</h3> <p>This function lists all available options for <code><a href="config.html">config()</a></code>. It provides both the short R name which you use with httr, and the longer Curl name, which is useful when searching the documentation. <code>curl_doc</code> opens a link to the libcurl documentation for an option in your browser. </p> <h3>Usage</h3> <pre> httr_options(matches) curl_docs(x) </pre> <h3>Arguments</h3> <table summary="R argblock"> <tr valign="top"><td><code>matches</code></td> <td> <p>If not missing, this restricts the output so that either the httr or curl option matches this regular expression.</p> </td></tr> <tr valign="top"><td><code>x</code></td> <td> <p>An option name (either short or full).</p> </td></tr> </table> <h3>Details</h3> <p>RCurl and httr use slightly different names to libcurl: the initial <code>CURLOPT_</code> is removed, all underscores are converted to periods and the option is given in lower case. Thus "CURLOPT_SSLENGINE_DEFAULT" becomes "sslengine.default". </p> <h3>Value</h3> <p>A data frame with three columns: </p> <table summary="R valueblock"> <tr valign="top"><td><code>httr</code></td> <td> <p>The short name used in httr</p> </td></tr> <tr valign="top"><td><code>libcurl</code></td> <td> <p>The full name used by libcurl</p> </td></tr> <tr valign="top"><td><code>type</code></td> <td> <p>The type of R object that the option accepts</p> </td></tr> </table> <h3>Examples</h3> <pre> httr_options() httr_options("post") # Use curl_docs to read the curl documentation for each option. # You can use either the httr or curl option name. curl_docs("userpwd") curl_docs("CURLOPT_USERPWD") </pre> <hr /><div style="text-align: center;">[Package <em>httr</em> version 1.4.2 <a href="00Index.html">Index</a>]</div> </body></html>