libcurl(二):curl_easy_setopt 可选的所有选项

All curl_easy_setopt options listed

All existing options for curl_easy_setopt in alphabetical order.

CURLOPT_ABSTRACT_UNIX_SOCKET

设置一个抽象的Unix域套接字

set an abstract Unix domain socket

CURLOPT_ACCEPTTIMEOUT_MS

等待FTP服务器恢复连接的超时时间

timeout waiting for FTP server to connect back

CURLOPT_ACCEPT_ENCODING

启用自动解压http的下载

enables automatic decompression of HTTP downloads

CURLOPT_ADDRESS_SCOPE

为本地IPv6地址设置范围

set scope for local IPv6 addresses

CURLOPT_APPEND

启用远程文件追加(FTP文件上传)

enable appending to the remote file

CURLOPT_AUTOREFERER

自动更新引用头(比如:重定向)

automatically update the referer header

CURLOPT_BUFFERSIZE

设置首选接收缓冲区大小

set preferred receive buffer size

CURLOPT_CAINFO

CA文件的路径。CURLOPT_SSL_VERIFYPEER

为0时,不要设置

path to Certificate Authority (CA) bundle

CURLOPT_CAPATH

指定保存CA证书的目录

specify directory holding CA certificates

CURLOPT_CERTINFO

请求SSL证书信息

request SSL certificate information

CURLOPT_CHUNK_BGN_FUNCTION

libcurl会在传输流的一部分之前调用这个回调函数

callback before a transfer with FTP wildcardmatch

CURLOPT_CHUNK_DATA

自定义指向FTP块回调的指针

custom pointer to the FTP chunk callbacks

CURLOPT_CHUNK_END_FUNCTION

只要传输了流的一部分,libcurl就会调用这个函数

callback after a transfer with FTP wildcardmatch

CURLOPT_CLOSESOCKETDATA

socket关闭的回调函数

pointer passed to the socket close callback

CURLOPT_CLOSESOCKETFUNCTION

socket关闭的替代回调函数

callback to socket close replacement function

CURLOPT_CONNECTTIMEOUT

设置连接阶段超时时间(单位:s)

timeout for the connect phase

CURLOPT_CONNECTTIMEOUT_MS

设置连接阶段超时时间(单位:ms)

timeout for the connect phase

CURLOPT_CONNECT_ONLY

连接到目标服务器时停止

stop when connected to target server

CURLOPT_CONNECT_TO

连接指定的主机和端口以替代URL中的主机和端口

Connect to a specific host and port instead of the URL's host and port

CURLOPT_CONV_FROM_NETWORK_FUNCTION

把数据从网络字节序转为主机字节序

convert data from network to host encoding

CURLOPT_CONV_FROM_UTF8_FUNCTION

把数据从UTF-8编码转为主机字节序

convert data from UTF8 to host encoding

CURLOPT_CONV_TO_NETWORK_FUNCTION

把数据从主机字节序转为网络字节序

convert data to network from host encoding

CURLOPT_COOKIE

设置HTTP Cookie头的内容

set contents of HTTP Cookie header

CURLOPT_COOKIEFILE

读取cookie的文件名

file name to read cookies from

CURLOPT_COOKIEJAR

存储cookie的文件名

file name to store cookies to

CURLOPT_COOKIELIST

添加到或者操作内存中的cookies

add to or manipulate cookies held in memory

CURLOPT_COOKIESESSION

开始一个新的cookie会话

start a new cookie session

CURLOPT_COPYPOSTFIELDS

设置POST要发送的数据

have libcurl copy data to POST

CURLOPT_CRLF

开启或关闭CRLF

enable/disable CRLF conversion

CURLOPT_CRLFILE

指定证书撤销列表文件

specify a Certificate Revocation List file

CURLOPT_CUSTOMREQUEST

自定义请求方法(比如:DELETE)

custom string for request

CURLOPT_DEBUGDATA

debug数据的接收地址,CURLOPT_DEBUGFUNCTION

必须设置才有用

custom pointer for debug callback

CURLOPT_DEBUGFUNCTION

debug回调函数

debug callback

CURLOPT_DEFAULT_PROTOCOL

设置默认的协议,如果URL没有指定协议时使用

default protocol to use if the URL is missing a

CURLOPT_DIRLISTONLY

只在目录列表中请求名称

ask for names only in a directory listing

CURLOPT_DISALLOW_USERNAME_IN_URL

不允许在URL中指定用户名

disallow specifying username in the url

CURLOPT_DNS_CACHE_TIMEOUT

设置DNS缓存条目的生命周期

set life-time for DNS cache entries

CURLOPT_DNS_INTERFACE

设置DNS解析器应该绑定到的网络接口的名称

set interface to speak DNS over

CURLOPT_DNS_LOCAL_IP4

设置IPv4的DNS地址

IPv4 address to bind DNS resolves to

CURLOPT_DNS_LOCAL_IP6

设置IPv6的DNS地址

IPv6 address to bind DNS resolves to

CURLOPT_DNS_SERVERS

设置首选DNS服务器

set preferred DNS servers

CURLOPT_DNS_SHUFFLE_ADDRESSES

当主机返回多个IP地址时,打乱IP地址

Shuffle addresses when a hostname returns more than one

CURLOPT_DNS_USE_GLOBAL_CACHE

打开/关闭全局DNS缓存

enable/disable global DNS cache

CURLOPT_EGDSOCKET

设置熵收集守护进程的socket路径

(常用于SSL种子的随机引擎)

(EGD:The Entropy Gathering Daemon)

set EGD socket path

CURLOPT_ERRORBUFFER

设置错误信息的缓冲区

set error buffer for error messages

CURLOPT_EXPECT_100_TIMEOUT_MS

设置当http服务器返回状态码为100时,

libcurl等待的超时时间。单位:ms.

timeout for Expect: 100-continue response

CURLOPT_FAILONERROR

设置当服务器返回状态码大于等于400时,

libcurl是否认为错误的请求

request failure on HTTP response >= 400

CURLOPT_FILETIME

获得远程文件的修改时间

get the modification time of the remote resource

CURLOPT_FNMATCH_DATA

此回调用于通配符匹配。

custom pointer to fnmatch callback

CURLOPT_FNMATCH_FUNCTION

此回调用于通配符匹配。

wildcard matching function callback

CURLOPT_FOLLOWLOCATION

跟随3xx 跳转

follow HTTP 3xx redirects

CURLOPT_FORBID_REUSE

使用后立即关闭连接

make connection get closed at once after use

CURLOPT_FRESH_CONNECT

强制使用新的连接

force a new connection to be used

CURLOPT_FTPPORT

指定用PORT模式传输,并使用给定的字符串

获取要用于FTP端口指令的IP地址

make FTP transfer active

CURLOPT_FTPSSLAUTH

设置使用FTP时尝试TLS和SSL的顺序

set order in which to attempt TLS vs SSL when using FTP

CURLOPT_FTP_ACCOUNT

设置FTP的账户信息

set account info for FTP

CURLOPT_FTP_ALTERNATIVE_TO_USER

如果常见的FTP“USER USER”和“Pass password”

协商失败,将使用该字符串进行身份验证。

目前,只有在使用客户端证书进行身份验证并连接

到Tumbleweed的安全传输FTPS服务器时,

才需要这样做。

command to use instead of USER with FTP

CURLOPT_FTP_CREATE_MISSING_DIRS

为FTP和SFTP创建丢失的dirs

create missing dirs for FTP and SFTP

CURLOPT_FTP_FILEMETHOD

选择FTP的目录遍历方法

select directory traversing method for FTP

CURLOPT_FTP_RESPONSE_TIMEOUT

设置等待FTP响应的超时时间

time allowed to wait for FTP response

CURLOPT_FTP_SKIP_PASV_IP

忽略PASV响应中的IP地址(PASV:FTP被动模式)

ignore the IP address in the PASV response

CURLOPT_FTP_SSL_CCC

在进行身份验证后关闭SSL/TLS层

switch off SSL again with FTP after auth

CURLOPT_FTP_USE_EPRT

打开或关闭EPRT模式

enable/disable use of EPRT with FTP

CURLOPT_FTP_USE_EPSV

打开或关闭EPSV模式

enable/disable use of EPSV

CURLOPT_FTP_USE_PRET

允许PERT命令

enable the PRET command

CURLOPT_GSSAPI_DELEGATION

设置允许GSS-API 授权

set allowed GSS-API delegation

CURLOPT_HAPPY_EYEBALLS_TIMEOUT_MS

Happy eyeballs是一种试图连接到IPv4和IPv6地

址的双栈主机的算法,优先选择IPv6超时毫秒数

head start for ipv6 for happy eyeballs

CURLOPT_HAPROXYPROTOCOL

发送HAProxy代理协议v1头

send HAProxy PROXY protocol v1 header

CURLOPT_HEADER

将头部放入数据流(写回调中包含头部数据)

pass headers to the data stream

CURLOPT_HEADERDATA

指向传递到头回调的指针

pointer to pass to header callback

CURLOPT_HEADERFUNCTION

接收头数据的回调

callback that receives header data

CURLOPT_HEADEROPT

设置如何发送HTTP头

set how to send HTTP headers

CURLOPT_HTTP200ALIASES

为HTTP 200确定指定可选匹配

specify alternative matches for HTTP 200 OK

CURLOPT_HTTPAUTH

设置可尝试的HTTP服务器验证方法

set HTTP server authentication methods to try

CURLOPT_HTTPGET

发起一个HTTP GET 请求

ask for an HTTP GET request

CURLOPT_HTTPHEADER

设置自定义HTTP 头

set custom HTTP headers

CURLOPT_HTTPPOST

指定POST方法的内容

specify the multipart formpost content

CURLOPT_HTTPPROXYTUNNEL

使libcurl隧道通过HTTP代理进行所有操作

tunnel through HTTP proxy

CURLOPT_HTTP_CONTENT_DECODING

启用/禁用HTTP内容解码

enable/disable HTTP content decoding

CURLOPT_HTTP_TRANSFER_DECODING

启用/禁用HTTP传输解码

enable/disable HTTP transfer decoding

CURLOPT_HTTP_VERSION

指定使用的HTTP协议版本

specify HTTP protocol version to use

CURLOPT_IGNORE_CONTENT_LENGTH

忽略内容长度

ignore content length

CURLOPT_INFILESIZE

设置要发送文件的大小(不大于2GB)

set size of the input file to send off

CURLOPT_INFILESIZE_LARGE

设置要发送文件的大小(大于2GB)

set size of the input file to send off

CURLOPT_INTERFACE

设置网络接口

source interface for outgoing traffic

CURLOPT_INTERLEAVEDATA

这是当接收到隔行扫描的RTP数据时将传递给CURLOPT_INTERLEAVEFUNCTION的userdata指针。

如果未设置interleave函数回调,则此指针不会在

任何地方使用。

custom pointer passed to RTSP interleave callback

CURLOPT_INTERLEAVEFUNCTION

接收到隔行扫描数据的回调函数

callback function for RTSP interleaved data

CURLOPT_IOCTLDATA

使用CURLOPT_IOCTLFUNCTION时,

作为ioctl回调设置的第三个参数

custom pointer passed to I/O callback

CURLOPT_IOCTLFUNCTION

IO操作回调

callback for I/O operations

CURLOPT_IPRESOLVE

指定IP协议的版本

specify which IP protocol version to use

CURLOPT_ISSUERCERT

SSL证书文件名

issuer SSL certificate filename

CURLOPT_KEEP_SENDING_ON_ERROR

继续发送早期HTTP响应>= 300

keep sending on early HTTP response >= 300

CURLOPT_KEYPASSWD

将密码设置为私钥

set passphrase to private key

CURLOPT_KRBLEVEL

设置FTP kerberos安全级别

set FTP kerberos security level

CURLOPT_LOCALPORT

设置套接字使用的本地端口号

set local port number to use for socket

CURLOPT_LOCALPORTRANGE

尝试添加的本地端口的数量

number of additional local ports to try

CURLOPT_LOGIN_OPTIONS

设置登录选项

set login options

CURLOPT_LOW_SPEED_LIMIT

设置低速限制的每秒字节数

set low speed limit in bytes per second

CURLOPT_LOW_SPEED_TIME

设置低速限制的时间周期

set low speed limit time period

CURLOPT_MAIL_AUTH

SMTP身份验证地址

SMTP authentication address

CURLOPT_MAIL_FROM

SMTP邮件发件人地址

SMTP sender address

CURLOPT_MAIL_RCPT

SMTP邮件收件人列表

list of SMTP mail recipients

CURLOPT_MAXCONNECTS

最大连接缓存大小

maximum connection cache size

CURLOPT_MAXFILESIZE

允许下载的最大文件尺寸

maximum file size allowed to download

CURLOPT_MAXFILESIZE_LARGE

允许下载的最大文件尺寸

maximum file size allowed to download

CURLOPT_MAXREDIRS

允许重定向的最大值

maximum number of redirects allowed

CURLOPT_MAX_RECV_SPEED_LARGE

数据下载的速率限制

rate limit data download speed

CURLOPT_MAX_SEND_SPEED_LARGE

数据上传的速率限制

rate limit data upload speed

CURLOPT_MIMEPOST

用我的结构设置post/send数据

set post/send data from mime structure

CURLOPT_NETRC

请求使用.netrc

request that .netrc is used

CURLOPT_NETRC_FILE

要从中读取.netrc信息的文件名

file name to read .netrc info from

CURLOPT_NEW_DIRECTORY_PERMS

远程创建目录的权限

permissions for remotely created directories

CURLOPT_NEW_FILE_PERMS

远程创建文件的权限

permissions for remotely created files

CURLOPT_NOBODY

下载请求除非获取到body

do the download request without getting the body

CURLOPT_NOPROGRESS

关闭进度表

switch off the progress meter

CURLOPT_NOPROXY

对于指定的主机不使用代理

disable proxy use for specific hosts

CURLOPT_NOSIGNAL

跳过所有信号处理函数

skip all signal handling

CURLOPT_OPENSOCKETDATA

自定义传递给socket打开回调的指针

custom pointer passed to open socket callback

CURLOPT_OPENSOCKETFUNCTION

设置打开socket的回调

set callback for opening sockets

CURLOPT_PASSWORD

用于身份认证的密码

password to use in authentication

CURLOPT_PATH_AS_IS

不处理点-点序列

do not handle dot dot sequences

CURLOPT_PINNEDPUBLICKEY

设置固定的公钥

set pinned public key

CURLOPT_PIPEWAIT

等待管道/多路复用

wait for pipelining/multiplexing

CURLOPT_PORT

设置端口

set remote port number to work with

CURLOPT_POST

发起一个POST请求

request an HTTP POST

CURLOPT_POSTFIELDS

指定POST发送到服务器的数据

specify data to POST to server

CURLOPT_POSTFIELDSIZE

POST发送数据的大小

size of POST data pointed to

CURLOPT_POSTFIELDSIZE_LARGE

POST发送数据的大小

size of POST data pointed to

CURLOPT_POSTQUOTE

(S)FTP在传输后执行命令

(S)FTP commands to run after the transfer

CURLOPT_POSTREDIR

如何操作HTTP POST重定向

how to act on an HTTP POST redirect

CURLOPT_PREQUOTE

在FTP传输之前运行命令

commands to run before an FTP transfer

CURLOPT_PRE_PROXY

设置使用pre-proxy

set pre-proxy to use

CURLOPT_PRIVATE

存储一个私有指针

store a private pointer

CURLOPT_PROGRESSDATA

传递给进度回调的自定义指针

custom pointer passed to the progress callback

CURLOPT_PROGRESSFUNCTION

进度条回调函数

callback to progress meter function

CURLOPT_PROTOCOLS

设置允许的协议

set allowed protocols

CURLOPT_PROXY

使用代理

set proxy to use

CURLOPT_PROXYAUTH

设置HTTP代理身份验证可尝试的方法

set HTTP proxy authentication methods to try

CURLOPT_PROXYHEADER

自定义传递给代理的HTTP头

custom HTTP headers to pass to proxy

CURLOPT_PROXYPASSWORD

与代理身份验证一起使用的密码

password to use with proxy authentication

CURLOPT_PROXYPORT

代理监听的端口号

port number the proxy listens on

CURLOPT_PROXYTYPE

代理协议类型

proxy protocol type

CURLOPT_PROXYUSERNAME

用于代理身份验证的用户名

user name to use for proxy authentication

CURLOPT_PROXYUSERPWD

用于代理身份验证的用户名和密码

user name and password to use for proxy authentication

CURLOPT_PROXY_CAINFO

代理证书颁发机构(CA)包的路径

path to proxy Certificate Authority (CA) bundle

CURLOPT_PROXY_CAPATH

指定保存代理CA证书的目录

specify directory holding proxy CA certificates

CURLOPT_PROXY_CRLFILE

指定一个代理证书吊销列表文件

specify a proxy Certificate Revocation List file

CURLOPT_PROXY_KEYPASSWD

将密码设置为代理私钥

set passphrase to proxy private key

CURLOPT_PROXY_PINNEDPUBLICKEY

为https代理设置固定公钥

set pinned public key for https proxy

CURLOPT_PROXY_SERVICE_NAME

代理身份验证服务名称

proxy authentication service name

CURLOPT_PROXY_SSLCERT

设置SSL代理客户端证书

set SSL proxy client certificate

CURLOPT_PROXY_SSLCERTTYPE

指定代理客户端SSL证书的类型

specify type of the proxy client SSL certificate

CURLOPT_PROXY_SSLKEY

为TLS和SSL代理客户端证书指定私有密钥文件

specify private keyfile for TLS and SSL proxy client cert

CURLOPT_PROXY_SSLKEYTYPE

设置代理私有密钥文件的类型

set type of the proxy private key file

CURLOPT_PROXY_SSLVERSION

设置首选代理TLS/SSL版本

set preferred proxy TLS/SSL version

CURLOPT_PROXY_SSL_CIPHER_LIST

指定要用于代理TLS的密码

specify ciphers to use for proxy TLS

CURLOPT_PROXY_SSL_OPTIONS

设置代理SSL行为选项

set proxy SSL behavior options

CURLOPT_PROXY_SSL_VERIFYHOST

根据主机验证代理证书的名称

verify the proxy certificate's name against host

CURLOPT_PROXY_SSL_VERIFYPEER

验证代理的SSL证书

verify the proxy's SSL certificate

CURLOPT_PROXY_TLS13_CIPHERS

代理TLS 1.3的加密套件

ciphers suites for proxy TLS 1.3

CURLOPT_PROXY_TLSAUTH_PASSWORD

用于代理TLS身份验证的密码

password to use for proxy TLS authentication

CURLOPT_PROXY_TLSAUTH_TYPE

设置代理TLS身份验证方法

set proxy TLS authentication methods

CURLOPT_PROXY_TLSAUTH_USERNAME

用于代理TLS身份验证的用户名

user name to use for proxy TLS authentication

CURLOPT_PROXY_TRANSFER_MODE

为代理添加FTP传输模式到URL

append FTP transfer mode to URL for proxy

CURLOPT_PUT

发起HTTP PUT请求

make an HTTP PUT request

CURLOPT_QUOTE

(S)FTP在传输前执行的命令

(S)FTP commands to run before transfer

CURLOPT_RANDOM_FILE

指定生成随机数的种子

specify a source for random data

CURLOPT_RANGE

设置请求的字节区间

set byte range to request

CURLOPT_READDATA

自定义传递给读回调的指针

custom pointer passed to the read callback

CURLOPT_READFUNCTION

数据上传的读回调

read callback for data uploads

CURLOPT_REDIR_PROTOCOLS

设置允许重定向的协议

set protocols allowed to redirect to

CURLOPT_REFERER

设置HTTP引用头

set the HTTP referer header

CURLOPT_REQUEST_TARGET

为这个请求指定一个替代目标

specify an alternative target for this request

CURLOPT_RESOLVE

提供自定义的主机名到IP地址解析

provide custom host name to IP address resolves

CURLOPT_RESOLVER_START_DATA

传递给解析器开始回调的自定义指针

custom pointer passed to the resolver start callback

CURLOPT_RESOLVER_START_FUNCTION

将回调设置为在启动新的解析请求之前调用

set callback to be called before a new resolve request is started

CURLOPT_RESUME_FROM

设置续传点

set a point to resume transfer from

CURLOPT_RESUME_FROM_LARGE

设置续传点

set a point to resume transfer from

CURLOPT_RTSP_CLIENT_CSEQ

设置RTSP客户端的CSEQ值

set the RTSP client CSEQ number

CURLOPT_RTSP_REQUEST

指定RTSP请求

specify RTSP request

CURLOPT_RTSP_SERVER_CSEQ

设置RTSP服务器的CSED值

set the RTSP server CSEQ number

CURLOPT_RTSP_SESSION_ID

设置RTSP的会话ID

set RTSP session ID

CURLOPT_RTSP_STREAM_URI

设置RTSP流的URI

set RTSP stream URI

CURLOPT_RTSP_TRANSPORT

设置RTSP传输头

set RTSP Transport: header

CURLOPT_SASL_IR

启用在第一个包中发送初始响应

enable sending initial response in first packet

CURLOPT_SEEKDATA

自定义传递给seek回调的指针

custom pointer passed to the seek callback

CURLOPT_SEEKFUNCTION

用于在输入流中跳转的用户回调

user callback for seeking in input stream

CURLOPT_SERVICE_NAME

身份验证服务名称

authentication service name

CURLOPT_SHARE

指定要使用的共享句柄

specify share handle to use

CURLOPT_SOCKOPTDATA

自定义传递给sockopt回调的指针

custom pointer to pass to sockopt callback

CURLOPT_SOCKOPTFUNCTION

设置设置socket选项的回调

set callback for setting socket options

CURLOPT_SOCKS5_AUTH

设置允许SOCKS5代理身份验证的方法

set allowed methods for SOCKS5 proxy authentication

CURLOPT_SOCKS5_GSSAPI_NEC

设置socks代理gssapi协商保护

set socks proxy gssapi negotiation protection

CURLOPT_SOCKS5_GSSAPI_SERVICE

SOCKS5代理身份验证服务名称

SOCKS5 proxy authentication service name

CURLOPT_SSH_AUTH_TYPES

为SFTP和SCP设置所需的auth类型

set desired auth types for SFTP and SCP

CURLOPT_SSH_COMPRESSION

启用自动解压HTTP下载

enables automatic decompression of HTTP downloads

CURLOPT_SSH_HOST_PUBLIC_KEY_MD5

SSH服务器公钥的校验

checksum of SSH server public key

CURLOPT_SSH_KEYDATA

指向传递到SSH KEY回调的指针

pointer to pass to the SSH key callback

CURLOPT_SSH_KEYFUNCTION

已知主机匹配逻辑的回调

callback for known host matching logic

CURLOPT_SSH_KNOWNHOSTS

设置保存SSH已知主机的文件名

file name holding the SSH known hosts

CURLOPT_SSH_PRIVATE_KEYFILE

为SSH认证设置私钥文件

set private key file for SSH auth

CURLOPT_SSH_PUBLIC_KEYFILE

为SSH认证设置公钥文件

set public key file for SSH auth

CURLOPT_SSLCERT

设置SSL客户端证书

set SSL client certificate

CURLOPT_SSLCERTTYPE

指定客户端SSL证书的类型

specify type of the client SSL certificate

CURLOPT_SSLENGINE

设置SSL引擎标识符

set SSL engine identifier

CURLOPT_SSLENGINE_DEFAULT

使SSL引擎默认

make SSL engine default

CURLOPT_SSLKEY

为TLS和SSL客户机证书指定私有密钥文件

specify private keyfile for TLS and SSL client cert

CURLOPT_SSLKEYTYPE

设置私钥文件的类型

set type of the private key file

CURLOPT_SSLVERSION

设置 TLS/SSL的首选版本

set preferred TLS/SSL version

CURLOPT_SSL_CIPHER_LIST

指定TLS的加密算法

specify ciphers to use for TLS

CURLOPT_SSL_CTX_DATA

自定义传入 ssl_ctx 回调的指针

custom pointer passed to ssl_ctx callback

CURLOPT_SSL_CTX_FUNCTION

SSL上下文回调

SSL context callback for OpenSSL, wolfSSL/CyaSSL or mbedTLS

CURLOPT_SSL_ENABLE_ALPN

启用 ALPN

enable ALPN

CURLOPT_SSL_ENABLE_NPN

启用 NPN

enable NPN

CURLOPT_SSL_FALSESTART

启用TLS抢先

enable TLS false start

CURLOPT_SSL_OPTIONS

设置SSL行为属性

set SSL behavior options

CURLOPT_SSL_SESSIONID_CACHE

启用/禁止使用SSL session-ID 缓存

enable/disable use of the SSL session-ID cache

CURLOPT_SSL_VERIFYHOST

根据主机验证证书的名称

verify the certificate's name against host

CURLOPT_SSL_VERIFYPEER

验证节点的SSL证书

verify the peer's SSL certificate

CURLOPT_SSL_VERIFYSTATUS

验证证书的状态

verify the certificate's status

CURLOPT_STDERR

重定向标准错误输出

redirect stderr to another stream

CURLOPT_STREAM_DEPENDS

标识与此流完全依赖的连接相同的流

set stream this transfer depends on

CURLOPT_STREAM_DEPENDS_E

标识与此流完全依赖的连接相同的流

set stream this transfer depends on exclusively

CURLOPT_STREAM_WEIGHT

 

set numerical stream weight

CURLOPT_SUPPRESS_CONNECT_HEADERS

启用此选项来隐藏代理连接响应头

Suppress proxy CONNECT response headers from user callbacks

CURLOPT_TCP_FASTOPEN

启用TCP Fast Open

enable TCP Fast Open

CURLOPT_TCP_KEEPALIVE

启用TCP keepalive 探测

enable TCP keep-alive probing

CURLOPT_TCP_KEEPIDLE

设置操作系统在连接空闲多少秒之后发起

keepalive探测

set TCP keep-alive idle time wait

CURLOPT_TCP_KEEPINTVL

设置操作系统在发送keepalive探测之间

等待的时间间隔(单位:s)

set TCP keep-alive interval

CURLOPT_TCP_NODELAY

设置TCP_NODELAY选项

set the TCP_NODELAY option

CURLOPT_TELNETOPTIONS

自定义TELNET选项

custom telnet options

CURLOPT_TFTP_BLKSIZE

TFTP块大小

TFTP block size

CURLOPT_TFTP_NO_OPTIONS

不发送TFTP选项请求。

Do not send TFTP options requests.

CURLOPT_TIMECONDITION

定义如何处理CURLOPT_TIMEVALUE时间值

select condition for a time request

CURLOPT_TIMEOUT

设置请求的最大超时时间(单位:s)

set maximum time the request is allowed to take

CURLOPT_TIMEOUT_MS

设置请求的最大超时时间(单位:ms)

set maximum time the request is allowed to take

CURLOPT_TIMEVALUE

设置时间(1970.1.1到现在的秒数)

set time value for conditional

CURLOPT_TIMEVALUE_LARGE

设置时间(大于2038年的时间,必须用这个)

set time value for conditional

CURLOPT_TLS13_CIPHERS

为TLS1.3指定加密套件

specify ciphers suites to use for TLS 1.3

CURLOPT_TLSAUTH_PASSWORD

用于TLS认证的密码

password to use for TLS authentication

CURLOPT_TLSAUTH_TYPE

设置 TLS 认证的方法

set TLS authentication methods

CURLOPT_TLSAUTH_USERNAME

用于TLS认证的用户名

user name to use for TLS authentication

CURLOPT_TRANSFERTEXT

请求一个基于FTP传输的文件

request a text based transfer for FTP

CURLOPT_TRANSFER_ENCODING

请求HTTP传输编码

ask for HTTP Transfer Encoding

CURLOPT_UNIX_SOCKET_PATH

设置 Unix domain 套接字

set Unix domain socket

CURLOPT_UNRESTRICTED_AUTH

也将凭证发送到其他主机

send credentials to other hosts too

CURLOPT_UPLOAD

打开数据上传

enable data upload

CURLOPT_URL

要请求的URL地址

provide the URL to use in the request

CURLOPT_USERAGENT

设置HTTP 头的 User-Agent字段

set HTTP user-agent header

CURLOPT_USERNAME

用于身份验证的用户名

user name to use in authentication

CURLOPT_USERPWD

用于身份验证的用户名和密码

(如:“zhangsan:123456”)

user name and password to use in authentication

CURLOPT_USE_SSL

请求使用SSL / TLS进行传输

request using SSL / TLS for the transfer

CURLOPT_VERBOSE

详细模式设置开/关

set verbose mode on/off

CURLOPT_WILDCARDMATCH

启用目录通配符

enable directory wildcard transfers

CURLOPT_WRITEDATA

传递给写回调的自定义指针

custom pointer passed to the write callback

CURLOPT_WRITEFUNCTION

为写入接收数据设置回调

set callback for writing received data

CURLOPT_XFERINFODATA

传递给进度回调函数的自定义指针

custom pointer passed to the progress callback

CURLOPT_XFERINFOFUNCTION

进度回调函数

callback to progress meter function

CURLOPT_XOAUTH2_BEARER

指定OAuth 2.0访问令牌

specify OAuth 2.0 access token

 

转载于:https://my.oschina.net/tuskypar/blog/1939631

  • 2
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值