Examples for 'httr::httr_options'


List available options.

Aliases: httr_options curl_docs

Keywords:

### ** Examples

httr_options()
                          httr                            libcurl     type
1         abstract_unix_socket       CURLOPT_ABSTRACT_UNIX_SOCKET   string
2              accept_encoding            CURLOPT_ACCEPT_ENCODING   string
3             accepttimeout_ms           CURLOPT_ACCEPTTIMEOUT_MS  integer
4                address_scope              CURLOPT_ADDRESS_SCOPE  integer
5                       altsvc                     CURLOPT_ALTSVC   string
6                  altsvc_ctrl                CURLOPT_ALTSVC_CTRL  integer
7                       append                     CURLOPT_APPEND  integer
8                  autoreferer                CURLOPT_AUTOREFERER  integer
9                    aws_sigv4                  CURLOPT_AWS_SIGV4   string
10                  buffersize                 CURLOPT_BUFFERSIZE  integer
11                      cainfo                     CURLOPT_CAINFO   string
12                 cainfo_blob                CURLOPT_CAINFO_BLOB     <NA>
13                      capath                     CURLOPT_CAPATH   string
14                    certinfo                   CURLOPT_CERTINFO  integer
15          chunk_bgn_function         CURLOPT_CHUNK_BGN_FUNCTION function
16                  chunk_data                 CURLOPT_CHUNK_DATA   string
17          chunk_end_function         CURLOPT_CHUNK_END_FUNCTION function
18             closesocketdata            CURLOPT_CLOSESOCKETDATA   string
19         closesocketfunction        CURLOPT_CLOSESOCKETFUNCTION function
20                connect_only               CURLOPT_CONNECT_ONLY  integer
21                  connect_to                 CURLOPT_CONNECT_TO   string
22              connecttimeout             CURLOPT_CONNECTTIMEOUT  integer
23           connecttimeout_ms          CURLOPT_CONNECTTIMEOUT_MS  integer
24  conv_from_network_function CURLOPT_CONV_FROM_NETWORK_FUNCTION function
25     conv_from_utf8_function    CURLOPT_CONV_FROM_UTF8_FUNCTION function
26    conv_to_network_function   CURLOPT_CONV_TO_NETWORK_FUNCTION function
27                      cookie                     CURLOPT_COOKIE   string
28                  cookiefile                 CURLOPT_COOKIEFILE   string
29                   cookiejar                  CURLOPT_COOKIEJAR   string
30                  cookielist                 CURLOPT_COOKIELIST   string
31               cookiesession              CURLOPT_COOKIESESSION  integer
32              copypostfields             CURLOPT_COPYPOSTFIELDS   string
33                        crlf                       CURLOPT_CRLF  integer
34                     crlfile                    CURLOPT_CRLFILE   string
35                       curlu                      CURLOPT_CURLU   string
36               customrequest              CURLOPT_CUSTOMREQUEST   string
37                   debugdata                  CURLOPT_DEBUGDATA   string
38               debugfunction              CURLOPT_DEBUGFUNCTION function
39            default_protocol           CURLOPT_DEFAULT_PROTOCOL   string
40                 dirlistonly                CURLOPT_DIRLISTONLY  integer
41    disallow_username_in_url   CURLOPT_DISALLOW_USERNAME_IN_URL  integer
42           dns_cache_timeout          CURLOPT_DNS_CACHE_TIMEOUT  integer
43               dns_interface              CURLOPT_DNS_INTERFACE   string
44               dns_local_ip4              CURLOPT_DNS_LOCAL_IP4   string
45               dns_local_ip6              CURLOPT_DNS_LOCAL_IP6   string
46                 dns_servers                CURLOPT_DNS_SERVERS   string
47       dns_shuffle_addresses      CURLOPT_DNS_SHUFFLE_ADDRESSES  integer
48        dns_use_global_cache       CURLOPT_DNS_USE_GLOBAL_CACHE  integer
49          doh_ssl_verifyhost         CURLOPT_DOH_SSL_VERIFYHOST  integer
50          doh_ssl_verifypeer         CURLOPT_DOH_SSL_VERIFYPEER  integer
51        doh_ssl_verifystatus       CURLOPT_DOH_SSL_VERIFYSTATUS  integer
52                     doh_url                    CURLOPT_DOH_URL   string
53                   egdsocket                  CURLOPT_EGDSOCKET   string
54                 errorbuffer                CURLOPT_ERRORBUFFER   string
55       expect_100_timeout_ms      CURLOPT_EXPECT_100_TIMEOUT_MS  integer
56                 failonerror                CURLOPT_FAILONERROR  integer
57                    filetime                   CURLOPT_FILETIME  integer
58                fnmatch_data               CURLOPT_FNMATCH_DATA   string
59            fnmatch_function           CURLOPT_FNMATCH_FUNCTION function
60              followlocation             CURLOPT_FOLLOWLOCATION  integer
61                forbid_reuse               CURLOPT_FORBID_REUSE  integer
62               fresh_connect              CURLOPT_FRESH_CONNECT  integer
63                 ftp_account                CURLOPT_FTP_ACCOUNT   string
64     ftp_alternative_to_user    CURLOPT_FTP_ALTERNATIVE_TO_USER   string
65     ftp_create_missing_dirs    CURLOPT_FTP_CREATE_MISSING_DIRS  integer
66              ftp_filemethod             CURLOPT_FTP_FILEMETHOD  integer
67        ftp_response_timeout       CURLOPT_FTP_RESPONSE_TIMEOUT  integer
68            ftp_skip_pasv_ip           CURLOPT_FTP_SKIP_PASV_IP  integer
69                 ftp_ssl_ccc                CURLOPT_FTP_SSL_CCC  integer
70                ftp_use_eprt               CURLOPT_FTP_USE_EPRT  integer
71                ftp_use_epsv               CURLOPT_FTP_USE_EPSV  integer
72                ftp_use_pret               CURLOPT_FTP_USE_PRET  integer
73                     ftpport                    CURLOPT_FTPPORT   string
74                  ftpsslauth                 CURLOPT_FTPSSLAUTH  integer
75           gssapi_delegation          CURLOPT_GSSAPI_DELEGATION  integer
76   happy_eyeballs_timeout_ms  CURLOPT_HAPPY_EYEBALLS_TIMEOUT_MS  integer
77             haproxyprotocol            CURLOPT_HAPROXYPROTOCOL  integer
78                      header                     CURLOPT_HEADER  integer
79                  headerdata                 CURLOPT_HEADERDATA   string
80              headerfunction             CURLOPT_HEADERFUNCTION function
81                   headeropt                  CURLOPT_HEADEROPT  integer
82                        hsts                       CURLOPT_HSTS   string
83                   hsts_ctrl                  CURLOPT_HSTS_CTRL  integer
84                hstsreaddata               CURLOPT_HSTSREADDATA   string
85            hstsreadfunction           CURLOPT_HSTSREADFUNCTION function
86               hstswritedata              CURLOPT_HSTSWRITEDATA   string
87           hstswritefunction          CURLOPT_HSTSWRITEFUNCTION function
88       http_content_decoding      CURLOPT_HTTP_CONTENT_DECODING  integer
89      http_transfer_decoding     CURLOPT_HTTP_TRANSFER_DECODING  integer
90                http_version               CURLOPT_HTTP_VERSION  integer
91              http09_allowed             CURLOPT_HTTP09_ALLOWED  integer
92              http200aliases             CURLOPT_HTTP200ALIASES   string
93                    httpauth                   CURLOPT_HTTPAUTH  integer
94                     httpget                    CURLOPT_HTTPGET  integer
95                  httpheader                 CURLOPT_HTTPHEADER   string
96                    httppost                   CURLOPT_HTTPPOST   string
97             httpproxytunnel            CURLOPT_HTTPPROXYTUNNEL  integer
98       ignore_content_length      CURLOPT_IGNORE_CONTENT_LENGTH  integer
99                  infilesize                 CURLOPT_INFILESIZE  integer
100           infilesize_large           CURLOPT_INFILESIZE_LARGE   number
101                  interface                  CURLOPT_INTERFACE   string
102             interleavedata             CURLOPT_INTERLEAVEDATA   string
103         interleavefunction         CURLOPT_INTERLEAVEFUNCTION function
104                  ioctldata                  CURLOPT_IOCTLDATA   string
105              ioctlfunction              CURLOPT_IOCTLFUNCTION function
106                  ipresolve                  CURLOPT_IPRESOLVE  integer
107                 issuercert                 CURLOPT_ISSUERCERT   string
108            issuercert_blob            CURLOPT_ISSUERCERT_BLOB     <NA>
109      keep_sending_on_error      CURLOPT_KEEP_SENDING_ON_ERROR  integer
110                  keypasswd                  CURLOPT_KEYPASSWD   string
111                   krblevel                   CURLOPT_KRBLEVEL   string
112                  localport                  CURLOPT_LOCALPORT  integer
113             localportrange             CURLOPT_LOCALPORTRANGE  integer
114              login_options              CURLOPT_LOGIN_OPTIONS   string
115            low_speed_limit            CURLOPT_LOW_SPEED_LIMIT  integer
116             low_speed_time             CURLOPT_LOW_SPEED_TIME  integer
117                  mail_auth                  CURLOPT_MAIL_AUTH   string
118                  mail_from                  CURLOPT_MAIL_FROM   string
119                  mail_rcpt                  CURLOPT_MAIL_RCPT   string
120      mail_rcpt_alllowfails      CURLOPT_MAIL_RCPT_ALLLOWFAILS  integer
121       max_recv_speed_large       CURLOPT_MAX_RECV_SPEED_LARGE   number
122       max_send_speed_large       CURLOPT_MAX_SEND_SPEED_LARGE   number
123                maxage_conn                CURLOPT_MAXAGE_CONN  integer
124                maxconnects                CURLOPT_MAXCONNECTS  integer
125                maxfilesize                CURLOPT_MAXFILESIZE  integer
126          maxfilesize_large          CURLOPT_MAXFILESIZE_LARGE   number
127           maxlifetime_conn           CURLOPT_MAXLIFETIME_CONN  integer
128                  maxredirs                  CURLOPT_MAXREDIRS  integer
129               mime_options               CURLOPT_MIME_OPTIONS  integer
130                   mimepost                   CURLOPT_MIMEPOST   string
131                      netrc                      CURLOPT_NETRC  integer
132                 netrc_file                 CURLOPT_NETRC_FILE   string
133        new_directory_perms        CURLOPT_NEW_DIRECTORY_PERMS  integer
134             new_file_perms             CURLOPT_NEW_FILE_PERMS  integer
135                     nobody                     CURLOPT_NOBODY  integer
136                 noprogress                 CURLOPT_NOPROGRESS  integer
137                    noproxy                    CURLOPT_NOPROXY   string
138                   nosignal                   CURLOPT_NOSIGNAL  integer
139             opensocketdata             CURLOPT_OPENSOCKETDATA   string
140         opensocketfunction         CURLOPT_OPENSOCKETFUNCTION function
141                   password                   CURLOPT_PASSWORD   string
142                 path_as_is                 CURLOPT_PATH_AS_IS  integer
143            pinnedpublickey            CURLOPT_PINNEDPUBLICKEY   string
144                   pipewait                   CURLOPT_PIPEWAIT  integer
145                       port                       CURLOPT_PORT  integer
146                       post                       CURLOPT_POST  integer
147                 postfields                 CURLOPT_POSTFIELDS   string
148              postfieldsize              CURLOPT_POSTFIELDSIZE  integer
149        postfieldsize_large        CURLOPT_POSTFIELDSIZE_LARGE   number
150                  postquote                  CURLOPT_POSTQUOTE   string
151                  postredir                  CURLOPT_POSTREDIR  integer
152                  pre_proxy                  CURLOPT_PRE_PROXY   string
153                   prequote                   CURLOPT_PREQUOTE   string
154                 prereqdata                 CURLOPT_PREREQDATA   string
155             prereqfunction             CURLOPT_PREREQFUNCTION function
156                    private                    CURLOPT_PRIVATE   string
157           progressfunction           CURLOPT_PROGRESSFUNCTION function
158                  protocols                  CURLOPT_PROTOCOLS  integer
159                      proxy                      CURLOPT_PROXY   string
160               proxy_cainfo               CURLOPT_PROXY_CAINFO   string
161          proxy_cainfo_blob          CURLOPT_PROXY_CAINFO_BLOB     <NA>
162               proxy_capath               CURLOPT_PROXY_CAPATH   string
163              proxy_crlfile              CURLOPT_PROXY_CRLFILE   string
164           proxy_issuercert           CURLOPT_PROXY_ISSUERCERT   string
165      proxy_issuercert_blob      CURLOPT_PROXY_ISSUERCERT_BLOB     <NA>
166            proxy_keypasswd            CURLOPT_PROXY_KEYPASSWD   string
167      proxy_pinnedpublickey      CURLOPT_PROXY_PINNEDPUBLICKEY   string
168         proxy_service_name         CURLOPT_PROXY_SERVICE_NAME   string
169      proxy_ssl_cipher_list      CURLOPT_PROXY_SSL_CIPHER_LIST   string
170          proxy_ssl_options          CURLOPT_PROXY_SSL_OPTIONS  integer
171       proxy_ssl_verifyhost       CURLOPT_PROXY_SSL_VERIFYHOST  integer
172       proxy_ssl_verifypeer       CURLOPT_PROXY_SSL_VERIFYPEER  integer
173              proxy_sslcert              CURLOPT_PROXY_SSLCERT   string
174         proxy_sslcert_blob         CURLOPT_PROXY_SSLCERT_BLOB     <NA>
175          proxy_sslcerttype          CURLOPT_PROXY_SSLCERTTYPE   string
176               proxy_sslkey               CURLOPT_PROXY_SSLKEY   string
177          proxy_sslkey_blob          CURLOPT_PROXY_SSLKEY_BLOB     <NA>
178           proxy_sslkeytype           CURLOPT_PROXY_SSLKEYTYPE   string
179           proxy_sslversion           CURLOPT_PROXY_SSLVERSION  integer
180        proxy_tls13_ciphers        CURLOPT_PROXY_TLS13_CIPHERS   string
181     proxy_tlsauth_password     CURLOPT_PROXY_TLSAUTH_PASSWORD   string
182         proxy_tlsauth_type         CURLOPT_PROXY_TLSAUTH_TYPE   string
183     proxy_tlsauth_username     CURLOPT_PROXY_TLSAUTH_USERNAME   string
184        proxy_transfer_mode        CURLOPT_PROXY_TRANSFER_MODE  integer
185                  proxyauth                  CURLOPT_PROXYAUTH  integer
186                proxyheader                CURLOPT_PROXYHEADER   string
187              proxypassword              CURLOPT_PROXYPASSWORD   string
188                  proxyport                  CURLOPT_PROXYPORT  integer
189                  proxytype                  CURLOPT_PROXYTYPE  integer
190              proxyusername              CURLOPT_PROXYUSERNAME   string
191               proxyuserpwd               CURLOPT_PROXYUSERPWD   string
192                        put                        CURLOPT_PUT  integer
193                      quote                      CURLOPT_QUOTE   string
194                random_file                CURLOPT_RANDOM_FILE   string
195                      range                      CURLOPT_RANGE   string
196                   readdata                   CURLOPT_READDATA   string
197               readfunction               CURLOPT_READFUNCTION function
198            redir_protocols            CURLOPT_REDIR_PROTOCOLS  integer
199                    referer                    CURLOPT_REFERER   string
200             request_target             CURLOPT_REQUEST_TARGET   string
201                    resolve                    CURLOPT_RESOLVE   string
202        resolver_start_data        CURLOPT_RESOLVER_START_DATA   string
203    resolver_start_function    CURLOPT_RESOLVER_START_FUNCTION function
204                resume_from                CURLOPT_RESUME_FROM  integer
205          resume_from_large          CURLOPT_RESUME_FROM_LARGE   number
206           rtsp_client_cseq           CURLOPT_RTSP_CLIENT_CSEQ  integer
207               rtsp_request               CURLOPT_RTSP_REQUEST  integer
208           rtsp_server_cseq           CURLOPT_RTSP_SERVER_CSEQ  integer
209            rtsp_session_id            CURLOPT_RTSP_SESSION_ID   string
210            rtsp_stream_uri            CURLOPT_RTSP_STREAM_URI   string
211             rtsp_transport             CURLOPT_RTSP_TRANSPORT   string
212               sasl_authzid               CURLOPT_SASL_AUTHZID   string
213                    sasl_ir                    CURLOPT_SASL_IR  integer
214                   seekdata                   CURLOPT_SEEKDATA   string
215               seekfunction               CURLOPT_SEEKFUNCTION function
216               service_name               CURLOPT_SERVICE_NAME   string
217                      share                      CURLOPT_SHARE   string
218                sockoptdata                CURLOPT_SOCKOPTDATA   string
219            sockoptfunction            CURLOPT_SOCKOPTFUNCTION function
220                socks5_auth                CURLOPT_SOCKS5_AUTH  integer
221          socks5_gssapi_nec          CURLOPT_SOCKS5_GSSAPI_NEC  integer
222      socks5_gssapi_service      CURLOPT_SOCKS5_GSSAPI_SERVICE   string
223             ssh_auth_types             CURLOPT_SSH_AUTH_TYPES  integer
224            ssh_compression            CURLOPT_SSH_COMPRESSION  integer
225    ssh_host_public_key_md5    CURLOPT_SSH_HOST_PUBLIC_KEY_MD5   string
226 ssh_host_public_key_sha256 CURLOPT_SSH_HOST_PUBLIC_KEY_SHA256   string
227                ssh_keydata                CURLOPT_SSH_KEYDATA   string
228            ssh_keyfunction            CURLOPT_SSH_KEYFUNCTION function
229             ssh_knownhosts             CURLOPT_SSH_KNOWNHOSTS   string
230        ssh_private_keyfile        CURLOPT_SSH_PRIVATE_KEYFILE   string
231         ssh_public_keyfile         CURLOPT_SSH_PUBLIC_KEYFILE   string
232            ssl_cipher_list            CURLOPT_SSL_CIPHER_LIST   string
233               ssl_ctx_data               CURLOPT_SSL_CTX_DATA   string
234           ssl_ctx_function           CURLOPT_SSL_CTX_FUNCTION function
235              ssl_ec_curves              CURLOPT_SSL_EC_CURVES   string
236            ssl_enable_alpn            CURLOPT_SSL_ENABLE_ALPN  integer
237             ssl_enable_npn             CURLOPT_SSL_ENABLE_NPN  integer
238             ssl_falsestart             CURLOPT_SSL_FALSESTART  integer
239                ssl_options                CURLOPT_SSL_OPTIONS  integer
240        ssl_sessionid_cache        CURLOPT_SSL_SESSIONID_CACHE  integer
241             ssl_verifyhost             CURLOPT_SSL_VERIFYHOST  integer
242             ssl_verifypeer             CURLOPT_SSL_VERIFYPEER  integer
243           ssl_verifystatus           CURLOPT_SSL_VERIFYSTATUS  integer
244                    sslcert                    CURLOPT_SSLCERT   string
245               sslcert_blob               CURLOPT_SSLCERT_BLOB     <NA>
246                sslcerttype                CURLOPT_SSLCERTTYPE   string
247                  sslengine                  CURLOPT_SSLENGINE   string
248          sslengine_default          CURLOPT_SSLENGINE_DEFAULT  integer
249                     sslkey                     CURLOPT_SSLKEY   string
250                sslkey_blob                CURLOPT_SSLKEY_BLOB     <NA>
251                 sslkeytype                 CURLOPT_SSLKEYTYPE   string
252                 sslversion                 CURLOPT_SSLVERSION  integer
253                     stderr                     CURLOPT_STDERR   string
254             stream_depends             CURLOPT_STREAM_DEPENDS   string
255           stream_depends_e           CURLOPT_STREAM_DEPENDS_E   string
256              stream_weight              CURLOPT_STREAM_WEIGHT  integer
257   suppress_connect_headers   CURLOPT_SUPPRESS_CONNECT_HEADERS  integer
258               tcp_fastopen               CURLOPT_TCP_FASTOPEN  integer
259              tcp_keepalive              CURLOPT_TCP_KEEPALIVE  integer
260               tcp_keepidle               CURLOPT_TCP_KEEPIDLE  integer
261              tcp_keepintvl              CURLOPT_TCP_KEEPINTVL  integer
262                tcp_nodelay                CURLOPT_TCP_NODELAY  integer
263              telnetoptions              CURLOPT_TELNETOPTIONS   string
264               tftp_blksize               CURLOPT_TFTP_BLKSIZE  integer
265            tftp_no_options            CURLOPT_TFTP_NO_OPTIONS  integer
266              timecondition              CURLOPT_TIMECONDITION  integer
267                    timeout                    CURLOPT_TIMEOUT  integer
268                 timeout_ms                 CURLOPT_TIMEOUT_MS  integer
269                  timevalue                  CURLOPT_TIMEVALUE  integer
270            timevalue_large            CURLOPT_TIMEVALUE_LARGE   number
271              tls13_ciphers              CURLOPT_TLS13_CIPHERS   string
272           tlsauth_password           CURLOPT_TLSAUTH_PASSWORD   string
273               tlsauth_type               CURLOPT_TLSAUTH_TYPE   string
274           tlsauth_username           CURLOPT_TLSAUTH_USERNAME   string
275                trailerdata                CURLOPT_TRAILERDATA   string
276            trailerfunction            CURLOPT_TRAILERFUNCTION function
277          transfer_encoding          CURLOPT_TRANSFER_ENCODING  integer
278               transfertext               CURLOPT_TRANSFERTEXT  integer
279           unix_socket_path           CURLOPT_UNIX_SOCKET_PATH   string
280          unrestricted_auth          CURLOPT_UNRESTRICTED_AUTH  integer
281         upkeep_interval_ms         CURLOPT_UPKEEP_INTERVAL_MS  integer
282                     upload                     CURLOPT_UPLOAD  integer
283          upload_buffersize          CURLOPT_UPLOAD_BUFFERSIZE  integer
284                        url                        CURLOPT_URL   string
285                    use_ssl                    CURLOPT_USE_SSL  integer
286                  useragent                  CURLOPT_USERAGENT   string
287                   username                   CURLOPT_USERNAME   string
288                    userpwd                    CURLOPT_USERPWD   string
289                    verbose                    CURLOPT_VERBOSE  integer
290              wildcardmatch              CURLOPT_WILDCARDMATCH  integer
291                  writedata                  CURLOPT_WRITEDATA   string
292              writefunction              CURLOPT_WRITEFUNCTION function
293               xferinfodata               CURLOPT_XFERINFODATA   string
294           xferinfofunction           CURLOPT_XFERINFOFUNCTION function
295             xoauth2_bearer             CURLOPT_XOAUTH2_BEARER   string
httr_options("post")
                   httr                     libcurl    type
32       copypostfields      CURLOPT_COPYPOSTFIELDS  string
96             httppost            CURLOPT_HTTPPOST  string
130            mimepost            CURLOPT_MIMEPOST  string
146                post                CURLOPT_POST integer
147          postfields          CURLOPT_POSTFIELDS  string
148       postfieldsize       CURLOPT_POSTFIELDSIZE integer
149 postfieldsize_large CURLOPT_POSTFIELDSIZE_LARGE  number
150           postquote           CURLOPT_POSTQUOTE  string
151           postredir           CURLOPT_POSTREDIR integer
# 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")

[Package httr version 1.4.7 Index]