node-libcurl
- Version 4.1.0
- Published
- 1.1 MB
- 7 dependencies
- MIT license
Install
npm i node-libcurl
yarn add node-libcurl
pnpm add node-libcurl
Overview
node-libcurl
Index
Variables
Classes
Curl
- chunks
- chunksLength
- cleanupReadFunctionStreamEvents()
- close()
- defaultHeaderFunction()
- defaultUserAgent
- defaultWriteFunction()
- defaultWriteFunctionStreamBased()
- disable()
- dupHandle()
- enable()
- features
- getCount
- getHeaders()
- getVersion
- getVersionInfo
- getVersionInfoString
- globalCleanup
- globalInit
- handle
- headerChunks
- headerChunksLength
- info
- isOpen
- isRunning
- isVersionGreaterOrEqualThan
- onEnd()
- onError()
- option
- pause()
- perform()
- readFunctionStream
- reset()
- resetInternalState()
- setProgressCallback()
- setStreamProgressCallback()
- setStreamResponseHighWaterMark()
- setUploadStream()
- streamContinueNext
- streamError
- streamModeProgressFunction()
- streamPauseNext
- streamReadFunctionCallbacksToClean
- streamReadFunctionPaused
- streamReadFunctionShouldEnd
- streamReadFunctionShouldPause
- streamUserSuppliedProgressFunction
- streamWriteFunctionFirstRun
- streamWriteFunctionHighWaterMark
- streamWriteFunctionPaused
- streamWriteFunctionShouldPause
- upkeep()
- VERSION_NUM
- writeFunctionStream
Interfaces
CurlInfo
- ACTIVESOCKET
- APPCONNECT_TIME
- APPCONNECT_TIME_T
- CAINFO
- CAPATH
- CERTINFO
- CONDITION_UNMET
- CONNECT_TIME
- CONNECT_TIME_T
- CONTENT_LENGTH_DOWNLOAD
- CONTENT_LENGTH_DOWNLOAD_T
- CONTENT_LENGTH_UPLOAD
- CONTENT_LENGTH_UPLOAD_T
- CONTENT_TYPE
- COOKIELIST
- EFFECTIVE_METHOD
- EFFECTIVE_URL
- FILETIME
- FILETIME_T
- FTP_ENTRY_PATH
- HEADER_SIZE
- HTTP_CONNECTCODE
- HTTP_VERSION
- HTTPAUTH_AVAIL
- LASTSOCKET
- LOCAL_IP
- LOCAL_PORT
- NAMELOOKUP_TIME
- NAMELOOKUP_TIME_T
- NUM_CONNECTS
- OS_ERRNO
- PRETRANSFER_TIME
- PRETRANSFER_TIME_T
- PRIMARY_IP
- PRIMARY_PORT
- PRIVATE
- PROTOCOL
- PROXY_ERROR
- PROXY_SSL_VERIFYRESULT
- PROXYAUTH_AVAIL
- REDIRECT_COUNT
- REDIRECT_TIME
- REDIRECT_TIME_T
- REDIRECT_URL
- REFERER
- REQUEST_SIZE
- RESPONSE_CODE
- RETRY_AFTER
- RTSP_CLIENT_CSEQ
- RTSP_CSEQ_RECV
- RTSP_SERVER_CSEQ
- RTSP_SESSION_ID
- SCHEME
- SIZE_DOWNLOAD
- SIZE_DOWNLOAD_T
- SIZE_UPLOAD
- SIZE_UPLOAD_T
- SPEED_DOWNLOAD
- SPEED_DOWNLOAD_T
- SPEED_UPLOAD
- SPEED_UPLOAD_T
- SSL_ENGINES
- SSL_VERIFYRESULT
- STARTTRANSFER_TIME
- STARTTRANSFER_TIME_T
- TLS_SESSION
- TLS_SSL_PTR
- TOTAL_TIME
- TOTAL_TIME_T
CurlOption
- ABSTRACT_UNIX_SOCKET
- ACCEPT_ENCODING
- ACCEPTTIMEOUT_MS
- ADDRESS_SCOPE
- ALTSVC
- ALTSVC_CTRL
- APPEND
- AUTOREFERER
- AWS_SIGV4
- BUFFERSIZE
- CAINFO
- CAINFO_BLOB
- CAPATH
- CERTINFO
- CHUNK_BGN_FUNCTION
- CHUNK_END_FUNCTION
- CONNECT_ONLY
- CONNECT_TO
- CONNECTTIMEOUT
- CONNECTTIMEOUT_MS
- COOKIE
- COOKIEFILE
- COOKIEJAR
- COOKIELIST
- COOKIESESSION
- CRLF
- CRLFILE
- CUSTOMREQUEST
- DEBUGFUNCTION
- DEFAULT_PROTOCOL
- DIRLISTONLY
- DISALLOW_USERNAME_IN_URL
- DNS_CACHE_TIMEOUT
- DNS_INTERFACE
- DNS_LOCAL_IP4
- DNS_LOCAL_IP6
- DNS_SERVERS
- DNS_SHUFFLE_ADDRESSES
- DNS_USE_GLOBAL_CACHE
- DOH_SSL_VERIFYHOST
- DOH_SSL_VERIFYPEER
- DOH_SSL_VERIFYSTATUS
- DOH_URL
- EGDSOCKET
- EXPECT_100_TIMEOUT_MS
- FAILONERROR
- FILETIME
- FNMATCH_FUNCTION
- FOLLOWLOCATION
- FORBID_REUSE
- FRESH_CONNECT
- FTP_ACCOUNT
- FTP_ALTERNATIVE_TO_USER
- FTP_CREATE_MISSING_DIRS
- FTP_FILEMETHOD
- FTP_SKIP_PASV_IP
- FTP_SSL_CCC
- FTP_USE_EPRT
- FTP_USE_EPSV
- FTP_USE_PRET
- FTPPORT
- FTPSSLAUTH
- GSSAPI_DELEGATION
- HAPPY_EYEBALLS_TIMEOUT_MS
- HAPROXYPROTOCOL
- HEADER
- HEADERFUNCTION
- HEADEROPT
- HSTS
- HSTS_CTRL
- HSTSREADFUNCTION
- HSTSWRITEFUNCTION
- HTTP_CONTENT_DECODING
- HTTP_TRANSFER_DECODING
- HTTP_VERSION
- HTTP09_ALLOWED
- HTTP200ALIASES
- HTTPAUTH
- HTTPGET
- HTTPHEADER
- HTTPPOST
- HTTPPROXYTUNNEL
- IGNORE_CONTENT_LENGTH
- INFILESIZE
- INFILESIZE_LARGE
- INTERFACE
- IPRESOLVE
- ISSUERCERT
- ISSUERCERT_BLOB
- KEEP_SENDING_ON_ERROR
- KEYPASSWD
- KRBLEVEL
- LOCALPORT
- LOCALPORTRANGE
- LOGIN_OPTIONS
- LOW_SPEED_LIMIT
- LOW_SPEED_TIME
- MAIL_AUTH
- MAIL_FROM
- MAIL_RCPT
- MAIL_RCPT_ALLLOWFAILS
- MAX_RECV_SPEED_LARGE
- MAX_SEND_SPEED_LARGE
- MAXAGE_CONN
- MAXCONNECTS
- MAXFILESIZE
- MAXFILESIZE_LARGE
- MAXLIFETIME_CONN
- MAXREDIRS
- NETRC
- NETRC_FILE
- NEW_DIRECTORY_PERMS
- NEW_FILE_PERMS
- NOBODY
- NOPROGRESS
- NOPROXY
- NOSIGNAL
- PASSWORD
- PATH_AS_IS
- PINNEDPUBLICKEY
- PIPEWAIT
- PORT
- POST
- POSTFIELDS
- POSTFIELDSIZE
- POSTFIELDSIZE_LARGE
- POSTQUOTE
- POSTREDIR
- PRE_PROXY
- PREQUOTE
- PREREQFUNCTION
- PROGRESSFUNCTION
- PROTOCOLS
- PROTOCOLS_STR
- PROXY
- PROXY_CAINFO
- PROXY_CAINFO_BLOB
- PROXY_CAPATH
- PROXY_CRLFILE
- PROXY_ISSUERCERT
- PROXY_ISSUERCERT_BLOB
- PROXY_KEYPASSWD
- PROXY_PINNEDPUBLICKEY
- PROXY_SERVICE_NAME
- PROXY_SSL_CIPHER_LIST
- PROXY_SSL_OPTIONS
- PROXY_SSL_VERIFYHOST
- PROXY_SSL_VERIFYPEER
- PROXY_SSLCERT
- PROXY_SSLCERT_BLOB
- PROXY_SSLCERTTYPE
- PROXY_SSLKEY
- PROXY_SSLKEY_BLOB
- PROXY_SSLKEYTYPE
- PROXY_SSLVERSION
- PROXY_TLS13_CIPHERS
- PROXY_TLSAUTH_PASSWORD
- PROXY_TLSAUTH_TYPE
- PROXY_TLSAUTH_USERNAME
- PROXY_TRANSFER_MODE
- PROXYAUTH
- PROXYHEADER
- PROXYPASSWORD
- PROXYPORT
- PROXYTYPE
- PROXYUSERNAME
- PROXYUSERPWD
- PUT
- QUOTE
- RANDOM_FILE
- RANGE
- READDATA
- READFUNCTION
- REDIR_PROTOCOLS
- REDIR_PROTOCOLS_STR
- REFERER
- REQUEST_TARGET
- RESOLVE
- RESUME_FROM
- RESUME_FROM_LARGE
- RTSP_CLIENT_CSEQ
- RTSP_REQUEST
- RTSP_SERVER_CSEQ
- RTSP_SESSION_ID
- RTSP_STREAM_URI
- RTSP_TRANSPORT
- SASL_AUTHZID
- SASL_IR
- SEEKFUNCTION
- SERVER_RESPONSE_TIMEOUT
- SERVICE_NAME
- SHARE
- SOCKS5_AUTH
- SOCKS5_GSSAPI_NEC
- SOCKS5_GSSAPI_SERVICE
- SSH_AUTH_TYPES
- SSH_COMPRESSION
- SSH_HOST_PUBLIC_KEY_MD5
- SSH_HOSTKEYDATA
- SSH_KNOWNHOSTS
- SSH_PRIVATE_KEYFILE
- SSH_PUBLIC_KEYFILE
- SSL_CIPHER_LIST
- SSL_EC_CURVES
- SSL_ENABLE_ALPN
- SSL_ENABLE_NPN
- SSL_FALSESTART
- SSL_OPTIONS
- SSL_SESSIONID_CACHE
- SSL_VERIFYHOST
- SSL_VERIFYPEER
- SSL_VERIFYSTATUS
- SSLCERT
- SSLCERT_BLOB
- SSLCERTTYPE
- SSLENGINE
- SSLENGINE_DEFAULT
- SSLKEY
- SSLKEY_BLOB
- SSLKEYTYPE
- SSLVERSION
- SUPPRESS_CONNECT_HEADERS
- TCP_FASTOPEN
- TCP_KEEPALIVE
- TCP_KEEPIDLE
- TCP_KEEPINTVL
- TCP_NODELAY
- TELNETOPTIONS
- TFTP_BLKSIZE
- TFTP_NO_OPTIONS
- TIMECONDITION
- TIMEOUT
- TIMEOUT_MS
- TIMEVALUE
- TIMEVALUE_LARGE
- TLS13_CIPHERS
- TLSAUTH_PASSWORD
- TLSAUTH_TYPE
- TLSAUTH_USERNAME
- TRAILERFUNCTION
- TRANSFER_ENCODING
- TRANSFERTEXT
- UNIX_SOCKET_PATH
- UNRESTRICTED_AUTH
- UPKEEP_INTERVAL_MS
- UPLOAD
- UPLOAD_BUFFERSIZE
- URL
- USE_SSL
- USERAGENT
- USERNAME
- USERPWD
- VERBOSE
- WILDCARDMATCH
- WRITEFUNCTION
- XFERINFOFUNCTION
- XOAUTH2_BEARER
Enums
CurlCode
- CURLE_ABORTED_BY_CALLBACK
- CURLE_AGAIN
- CURLE_AUTH_ERROR
- CURLE_BAD_CONTENT_ENCODING
- CURLE_BAD_DOWNLOAD_RESUME
- CURLE_BAD_FUNCTION_ARGUMENT
- CURLE_CHUNK_FAILED
- CURLE_CONV_FAILED
- CURLE_CONV_REQD
- CURLE_COULDNT_CONNECT
- CURLE_COULDNT_RESOLVE_HOST
- CURLE_COULDNT_RESOLVE_PROXY
- CURLE_FAILED_INIT
- CURLE_FILE_COULDNT_READ_FILE
- CURLE_FILESIZE_EXCEEDED
- CURLE_FTP_ACCEPT_FAILED
- CURLE_FTP_ACCEPT_TIMEOUT
- CURLE_FTP_ACCESS_DENIED
- CURLE_FTP_BAD_DOWNLOAD_RESUME
- CURLE_FTP_BAD_FILE_LIST
- CURLE_FTP_CANT_GET_HOST
- CURLE_FTP_COULDNT_RETR_FILE
- CURLE_FTP_COULDNT_SET_BINARY
- CURLE_FTP_COULDNT_SET_TYPE
- CURLE_FTP_COULDNT_STOR_FILE
- CURLE_FTP_COULDNT_USE_REST
- CURLE_FTP_PARTIAL_FILE
- CURLE_FTP_PORT_FAILED
- CURLE_FTP_PRET_FAILED
- CURLE_FTP_QUOTE_ERROR
- CURLE_FTP_SSL_FAILED
- CURLE_FTP_WEIRD_227_FORMAT
- CURLE_FTP_WEIRD_PASS_REPLY
- CURLE_FTP_WEIRD_PASV_REPLY
- CURLE_FTP_WEIRD_SERVER_REPLY
- CURLE_FUNCTION_NOT_FOUND
- CURLE_GOT_NOTHING
- CURLE_HTTP_NOT_FOUND
- CURLE_HTTP_PORT_FAILED
- CURLE_HTTP_POST_ERROR
- CURLE_HTTP_RANGE_ERROR
- CURLE_HTTP_RETURNED_ERROR
- CURLE_HTTP2
- CURLE_HTTP2_STREAM
- CURLE_HTTP3
- CURLE_INTERFACE_FAILED
- CURLE_LAST
- CURLE_LDAP_CANNOT_BIND
- CURLE_LDAP_INVALID_URL
- CURLE_LDAP_SEARCH_FAILED
- CURLE_LOGIN_DENIED
- CURLE_NO_CONNECTION_AVAILABLE
- CURLE_NOT_BUILT_IN
- CURLE_OBSOLETE20
- CURLE_OBSOLETE24
- CURLE_OBSOLETE29
- CURLE_OBSOLETE32
- CURLE_OBSOLETE40
- CURLE_OBSOLETE44
- CURLE_OBSOLETE46
- CURLE_OBSOLETE50
- CURLE_OBSOLETE51
- CURLE_OBSOLETE57
- CURLE_OK
- CURLE_OPERATION_TIMEDOUT
- CURLE_OPERATION_TIMEOUTED
- CURLE_OUT_OF_MEMORY
- CURLE_PARTIAL_FILE
- CURLE_PEER_FAILED_VERIFICATION
- CURLE_PROXY
- CURLE_QUIC_CONNECT_ERROR
- CURLE_QUOTE_ERROR
- CURLE_RANGE_ERROR
- CURLE_READ_ERROR
- CURLE_RECURSIVE_API_CALL
- CURLE_RECV_ERROR
- CURLE_REMOTE_ACCESS_DENIED
- CURLE_REMOTE_DISK_FULL
- CURLE_REMOTE_FILE_EXISTS
- CURLE_REMOTE_FILE_NOT_FOUND
- CURLE_RTSP_CSEQ_ERROR
- CURLE_RTSP_SESSION_ERROR
- CURLE_SEND_ERROR
- CURLE_SEND_FAIL_REWIND
- CURLE_SETOPT_OPTION_SYNTAX
- CURLE_SSH
- CURLE_SSL_CACERT
- CURLE_SSL_CACERT_BADFILE
- CURLE_SSL_CERTPROBLEM
- CURLE_SSL_CIPHER
- CURLE_SSL_CLIENTCERT
- CURLE_SSL_CONNECT_ERROR
- CURLE_SSL_CRL_BADFILE
- CURLE_SSL_ENGINE_INITFAILED
- CURLE_SSL_ENGINE_NOTFOUND
- CURLE_SSL_ENGINE_SETFAILED
- CURLE_SSL_INVALIDCERTSTATUS
- CURLE_SSL_ISSUER_ERROR
- CURLE_SSL_PEER_CERTIFICATE
- CURLE_SSL_PINNEDPUBKEYNOTMATCH
- CURLE_SSL_SHUTDOWN_FAILED
- CURLE_TELNET_OPTION_SYNTAX
- CURLE_TFTP_DISKFULL
- CURLE_TFTP_EXISTS
- CURLE_TFTP_ILLEGAL
- CURLE_TFTP_NOSUCHUSER
- CURLE_TFTP_NOTFOUND
- CURLE_TFTP_PERM
- CURLE_TFTP_UNKNOWNID
- CURLE_TOO_MANY_REDIRECTS
- CURLE_UNKNOWN_OPTION
- CURLE_UNKNOWN_TELNET_OPTION
- CURLE_UNSUPPORTED_PROTOCOL
- CURLE_UPLOAD_FAILED
- CURLE_URL_MALFORMAT
- CURLE_USE_SSL_FAILED
- CURLE_WEIRD_SERVER_REPLY
- CURLE_WRITE_ERROR
CurlPx
- BadAddressType
- BadVersion
- Closed
- Gssapi
- GssapiPermsg
- GssapiProtection
- Identd
- IdentdDiffer
- LongHostname
- LongPasswd
- LongUser
- NoAuth
- Ok
- RecvAddress
- RecvAuth
- RecvConnect
- RecvReqack
- ReplyAddressTypeNotSupported
- ReplyCommandNotSupported
- ReplyConnectionRefused
- ReplyGeneralServerFailure
- ReplyHostUnreachable
- ReplyNetworkUnreachable
- ReplyNotAllowed
- ReplyTtlExpired
- ReplyUnassigned
- RequestFailed
- ResolveHost
- SendAuth
- SendConnect
- SendRequest
- UnknownFail
- UnknownMode
- UserRejected
Type Aliases
Variables
variable curly
const curly: CurlyFunction;
Curly function
Modifiers
@public
Classes
class Curl
class Curl extends EventEmitter {}
constructor
constructor(cloneHandle?: EasyNativeBinding);
Parameter cloneHandle
`Easy` handle that should be used instead of creating a new one.
property chunks
protected chunks: Buffer[];
Stores current response payload.
This will not store anything in case `NoDataStorage` flag is enabled
property chunksLength
protected chunksLength: number;
Current response length.
Will always be zero in case `NoDataStorage` flag is enabled
property defaultUserAgent
static defaultUserAgent: string;
This is the default user agent that is going to be used on all
Curl
instances.You can overwrite this in a per instance basis, calling
curlHandle.setOpt('USERAGENT', 'my-user-agent/1.0')
, or by directly changing this property so it affects all newly createdCurl
instances.To disable this behavior set this property to
null
.
property features
protected features: CurlFeature;
property getCount
static getCount: () => number;
Returns the number of handles currently open in the internal `Multi` handle being used.
property getVersion
static getVersion: () => string;
Returns libcurl version string.
The string shows which libraries libcurl was built with and their versions, example:
libcurl/7.69.1-DEV OpenSSL/1.1.1d zlib/1.2.11 WinIDN libssh2/1.9.0_DEV nghttp2/1.40.0
property getVersionInfo
static getVersionInfo: () => import('./types').CurlVersionInfoNativeBindingObject;
Returns an object with a representation of the current libcurl version and their features/protocols.
This is basically [
curl_version_info()
](https://curl.haxx.se/libcurl/c/curl_version_info.html)
property getVersionInfoString
static getVersionInfoString: () => string;
Returns a string that looks like the one returned by
curl -VExample:
Version: libcurl/7.69.1-DEV OpenSSL/1.1.1d zlib/1.2.11 WinIDN libssh2/1.9.0_DEV nghttp2/1.40.0Protocols: dict, file, ftp, ftps, gopher, http, https, imap, imaps, ldap, ldaps, pop3, pop3s, rtsp, scp, sftp, smb, smbs, smtp, smtps, telnet, tftpFeatures: AsynchDNS, IDN, IPv6, Largefile, SSPI, Kerberos, SPNEGO, NTLM, SSL, libz, HTTP2, HTTPS-proxy
property globalCleanup
static globalCleanup: () => void;
Calls [
curl_global_cleanup()
](http://curl.haxx.se/libcurl/c/curl_global_cleanup.html)This is automatically called when the process is exiting.
property globalInit
static globalInit: (flags: CurlGlobalInit) => number;
Calls [
curl_global_init()
](http://curl.haxx.se/libcurl/c/curl_global_init.html).For **flags** see the the enum `CurlGlobalInit`.
This is automatically called when the addon is loaded, to disable this, set the environment variable
NODE_LIBCURL_DISABLE_GLOBAL_INIT_CALL=false
property handle
protected handle: EasyNativeBinding;
Internal Easy handle being used
property headerChunks
protected headerChunks: Buffer[];
Stores current headers payload.
This will not store anything in case `NoDataStorage` flag is enabled
property headerChunksLength
protected headerChunksLength: number;
Current headers length.
Will always be zero in case `NoDataStorage` flag is enabled
property info
static info: CurlInfo;
This is a object with members resembling the
CURLINFO_*
libcurl constants.It can be used with `Easy#getInfo` or `Curl#getInfo`.
See the official documentation of [
curl_easy_getinfo()
](http://curl.haxx.se/libcurl/c/curl_easy_getinfo.html) for reference.CURLINFO_EFFECTIVE_URL
becomesCurl.info.EFFECTIVE_URL
property isOpen
readonly isOpen: boolean;
Whether this instance is closed or not (`close()` was called).
Make sure to not change their value, otherwise unexpected behavior would happen.
property isRunning
isRunning: boolean;
Whether this instance is running or not (`perform()` was called).
Make sure to not change their value, otherwise unexpected behavior would happen.
This is marked as protected only with the TSDoc to not cause a breaking change.
property isVersionGreaterOrEqualThan
static isVersionGreaterOrEqualThan: ( x: number, y: number, z?: number) => boolean;
Useful if you want to check if the current libcurl version is greater or equal than another one.
Parameter x
major
Parameter y
minor
Parameter z
patch
property option
static option: CurlOption;
This is a object with members resembling the
CURLOPT_*
libcurl constants.It can be used with `Easy#setOpt` or `Curl#setOpt`.
See the official documentation of [
curl_easy_setopt()
](http://curl.haxx.se/libcurl/c/curl_easy_setopt.html) for reference.CURLOPT_URL
becomesCurl.option.URL
property readFunctionStream
protected readFunctionStream: any;
property streamContinueNext
protected streamContinueNext: boolean;
property streamError
protected streamError: false | Error;
property streamPauseNext
protected streamPauseNext: boolean;
property streamReadFunctionCallbacksToClean
protected streamReadFunctionCallbacksToClean: [ Readable, string, (...args: any[]) => void][];
property streamReadFunctionPaused
protected streamReadFunctionPaused: boolean;
property streamReadFunctionShouldEnd
protected streamReadFunctionShouldEnd: boolean;
property streamReadFunctionShouldPause
protected streamReadFunctionShouldPause: boolean;
property streamUserSuppliedProgressFunction
protected streamUserSuppliedProgressFunction: ( this: EasyNativeBinding, dltotal: number, dlnow: number, ultotal: number, ulnow: number) => number;
property streamWriteFunctionFirstRun
protected streamWriteFunctionFirstRun: boolean;
property streamWriteFunctionHighWaterMark
protected streamWriteFunctionHighWaterMark: number;
property streamWriteFunctionPaused
protected streamWriteFunctionPaused: boolean;
property streamWriteFunctionShouldPause
protected streamWriteFunctionShouldPause: boolean;
property VERSION_NUM
static VERSION_NUM: number;
Integer representing the current libcurl version.
It was built the following way:
<8 bits major number> | <8 bits minor number> | <8 bits patch number>.Version
7.69.1
is therefore returned as0x074501
/476417
property writeFunctionStream
protected writeFunctionStream: any;
method cleanupReadFunctionStreamEvents
protected cleanupReadFunctionStreamEvents: () => void;
When uploading a stream (by calling `setUploadStream`) some event listeners are attached to the stream instance. This will remove them so our callbacks are not called anymore.
method close
close: () => void;
Close this handle.
**NOTE:** After closing the handle, it must not be used anymore. Doing so will throw an error.
Official libcurl documentation: [
curl_easy_cleanup()
](http://curl.haxx.se/libcurl/c/curl_easy_cleanup.html)
method defaultHeaderFunction
protected defaultHeaderFunction: ( chunk: Buffer, size: number, nmemb: number) => number;
This is the default callback passed to `setOpt('HEADERFUNCTION', cb)`.
method defaultWriteFunction
protected defaultWriteFunction: ( chunk: Buffer, size: number, nmemb: number) => number;
This is the default callback passed to `setOpt('WRITEFUNCTION', cb)`.
method defaultWriteFunctionStreamBased
protected defaultWriteFunctionStreamBased: ( chunk: Buffer, size: number, nmemb: number) => number;
This is used by the default callback passed to `setOpt('WRITEFUNCTION', cb)` when the feature to stream response is enabled.
method disable
disable: (bitmask: CurlFeature) => this;
Disables a feature, must not be used while a request is running.
Use `CurlFeature` for predefined constants.
method dupHandle
dupHandle: (shouldCopyEventListeners?: boolean) => Curl;
Duplicate this handle with all their options. Keep in mind that, by default, this also means all event listeners.
Official libcurl documentation: [
curl_easy_duphandle()
](http://curl.haxx.se/libcurl/c/curl_easy_duphandle.html)Parameter shouldCopyEventListeners
If you don't want to copy the event listeners, set this to
false
.
method enable
enable: (bitmask: CurlFeature) => this;
Enables a feature, must not be used while a request is running.
Use `CurlFeature` for predefined constants.
method getHeaders
protected getHeaders: () => Buffer | HeaderInfo[];
Returns headers from the current stored chunks - if any
method onEnd
onEnd: () => void;
Callback called when this handle has finished the request.
This is called from the internal callback we use with the `onMessage` method of the global `Multi` handle used by all
Curl
instances.This should not be called in any other way.
method onError
onError: (error: Error, errorCode: CurlCode) => void;
Callback called when an error is thrown on this handle.
This is called from the internal callback we use with the `onMessage` method of the global `Multi` handle used by all
Curl
instances.
method pause
pause: (bitmask: CurlPause) => this;
Use this function to pause / unpause a connection.
The bitmask argument is a set of bits that sets the new state of the connection.
Use `CurlPause` for predefined constants.
Official libcurl documentation: [
curl_easy_pause()
](http://curl.haxx.se/libcurl/c/curl_easy_pause.html)
method perform
perform: () => this;
Add this instance to the processing queue. This method should be called only one time per request, otherwise it will throw an error.
Remarks
This basically calls the `Multi#addHandle` method.
method reset
reset: () => this;
Reset this handle options to their defaults.
This will put the handle in a clean state, as if it was just created.
Official libcurl documentation: [
curl_easy_reset()
](http://curl.haxx.se/libcurl/c/curl_easy_reset.html)
method resetInternalState
protected resetInternalState: () => void;
This is used to reset a few properties to their pre-request state.
method setProgressCallback
setProgressCallback: ( cb: ( dltotal: number, dlnow: number, ultotal: number, ulnow: number ) => number) => this;
The option
XFERINFOFUNCTION
was introduced in curl version7.32.0
, versions older than that should usePROGRESSFUNCTION
. If you don't want to mess with version numbers you can use this method, instead of directly calling `Curl#setOpt`.NOPROGRESS
should be set to false to make this function actually get called.
method setStreamProgressCallback
setStreamProgressCallback: (cb: CurlOptionValueType['xferInfoFunction']) => this;
This sets the callback to be used as the progress function when using any of the stream features.
This is needed because when this
Curl
instance is enabled to use streams for upload/download, it needs to set the libcurl progress function option to an internal function.If you are using any of the streams features, do not overwrite the progress callback to something else, be it using `setOpt` or `setProgressCallback`, as this would cause undefined behavior.
If are using this callback, there is no need to set the
NOPROGRESS
option to false (as you normally would).
method setStreamResponseHighWaterMark
setStreamResponseHighWaterMark: (highWaterMark: number | null) => this;
Set the param to
null
to use the Node.js default value.Parameter highWaterMark
This will passed directly to the
Readable
stream created to be returned as the response'Remarks
Only useful when the `StreamResponse` feature flag is enabled.
method setUploadStream
setUploadStream: (stream: Readable | null) => this;
This will set an internal
READFUNCTION
callback that will read all the data from this stream.One usage for that is to upload data directly from streams. Example:
const curl = new Curl()curl.setOpt('URL', 'https://some-domain/upload')curl.setOpt('UPLOAD', true)// so we do not need to set the content lengthcurl.setOpt('HTTPHEADER', ['Transfer-Encoding: chunked'])const filePath = './test.zip'const stream = fs.createReadStream(filePath)curl.setUploadStream(stream)curl.setStreamProgressCallback(() => {// this will use the default progress callback from libcurlreturn CurlProgressFunc.Continue})curl.on('end', (statusCode, data) => {console.log('\n'.repeat(5))// data length should be 0, as it was sent using the response streamconsole.log(`curl - end - status: ${statusCode} - data length: ${data.length}`,)curl.close()})curl.on('error', (error, errorCode) => {console.log('\n'.repeat(5))console.error('curl - error: ', error, errorCode)curl.close()})curl.perform()Multiple calls with the same stream that was previously set has no effect.
Setting this to
null
will remove theREADFUNCTION
callback and disable this behavior.Remarks
This option is reset after each request, so if you want to upload the same data again using the same
Curl
instance, you will need to provide a new stream.Make sure your libcurl version is greater than or equal 7.69.1. Versions older than that one are not reliable for streams usage.
method streamModeProgressFunction
protected streamModeProgressFunction: ( dltotal: number, dlnow: number, ultotal: number, ulnow: number) => number;
The internal function passed to
PROGRESSFUNCTION
(XFERINFOFUNCTION
on most recent libcurl versions) when using any of the stream features.
method upkeep
upkeep: () => this;
Perform any connection upkeep checks.
Official libcurl documentation: [
curl_easy_upkeep()
](http://curl.haxx.se/libcurl/c/curl_easy_upkeep.html)
class Easy
class Easy extends bindings.Easy {}
This is a Node.js wrapper around the binding native Easy class
Modifiers
@public
class Multi
class Multi extends bindings.Multi {}
This is a Node.js wrapper around the binding native Multi class.
The only extra is that it provides a static field
option
.Modifiers
@public
class Share
class Share extends bindings.Share {}
This is a Node.js wrapper around the binding native Easy class.
The only extra is that it provides a static field
option
andlock
.Modifiers
@public
property option
static option: typeof CurlShareOption;
Options to be used with `setOpt`.
See the official documentation of [
curl_share_setopt()
](http://curl.haxx.se/libcurl/c/curl_share_setopt.html) for reference.CURLSHOPT_SHARE
becomesShare.option.SHARE
Deprecated
Use `CurlShareOption` directly instead.
Interfaces
interface Curl
interface Curl {}
method getInfo
getInfo: { (info: 'CERTINFO'): GetInfoReturn<string[]>['data']; ( info: | 'HTTP_VERSION' | 'CAINFO' | 'CAPATH' | 'COOKIELIST' | 'FILETIME' | 'REFERER' | 'RTSP_CLIENT_CSEQ' | 'RTSP_SERVER_CSEQ' | 'RTSP_SESSION_ID' | 'ACTIVESOCKET' | 'APPCONNECT_TIME' | 'APPCONNECT_TIME_T' | 'CONDITION_UNMET' | 'CONNECT_TIME' | 'CONNECT_TIME_T' | 'CONTENT_LENGTH_DOWNLOAD' | 'CONTENT_LENGTH_DOWNLOAD_T' | 'CONTENT_LENGTH_UPLOAD' | 'CONTENT_LENGTH_UPLOAD_T' | 'CONTENT_TYPE' | 'EFFECTIVE_METHOD' | 'EFFECTIVE_URL' | 'FILETIME_T' | 'FTP_ENTRY_PATH' | 'HEADER_SIZE' | 'HTTP_CONNECTCODE' | 'HTTPAUTH_AVAIL' | 'LASTSOCKET' | 'LOCAL_IP' | 'LOCAL_PORT' | 'NAMELOOKUP_TIME' | 'NAMELOOKUP_TIME_T' | 'NUM_CONNECTS' | 'OS_ERRNO' | 'PRETRANSFER_TIME' | 'PRETRANSFER_TIME_T' | 'PRIMARY_IP' | 'PRIMARY_PORT' | 'PRIVATE' | 'PROTOCOL' | 'PROXY_ERROR' | 'PROXY_SSL_VERIFYRESULT' | 'PROXYAUTH_AVAIL' | 'REDIRECT_COUNT' | 'REDIRECT_TIME' | 'REDIRECT_TIME_T' | 'REDIRECT_URL' | 'REQUEST_SIZE' | 'RESPONSE_CODE' | 'RETRY_AFTER' | 'RTSP_CSEQ_RECV' | 'SCHEME' | 'SIZE_DOWNLOAD' | 'SIZE_DOWNLOAD_T' | 'SIZE_UPLOAD' | 'SIZE_UPLOAD_T' | 'SPEED_DOWNLOAD' | 'SPEED_DOWNLOAD_T' | 'SPEED_UPLOAD' | 'SPEED_UPLOAD_T' | 'SSL_ENGINES' | 'SSL_VERIFYRESULT' | 'STARTTRANSFER_TIME' | 'STARTTRANSFER_TIME_T' | 'TLS_SESSION' | 'TLS_SSL_PTR' | 'TOTAL_TIME' | 'TOTAL_TIME_T' ): string | number;};
Returns information about the finished connection.
Official libcurl documentation: [
curl_easy_getinfo()
](http://curl.haxx.se/libcurl/c/curl_easy_getinfo.html)Parameter info
Info to retrieve. Use `Curl.info` for predefined constants.
method on
on: { ( event: 'data', listener: (this: Curl, chunk: Buffer, curlInstance: Curl) => void ): this; ( event: 'header', listener: (this: Curl, chunk: Buffer, curlInstance: Curl) => void ): this; ( event: 'error', listener: ( this: Curl, error: Error, errorCode: CurlCode, curlInstance: Curl ) => void ): this; ( event: 'stream', listener: ( this: Curl, stream: Readable, status: number, headers: any, curlInstance: Curl ) => void ): this; ( event: 'end', listener: ( this: Curl, status: number, data: any, headers: any, curlInstance: Curl ) => void ): this; (event: string, listener: Function): this;};
This is emitted if the StreamResponse feature was enabled.
The
data
paramater passed to the listener callback will be one of the following: - EmptyBuffer
if the feature `NoDataStorage` flag was enabled - Non-EmptyBuffer
if the feature `NoDataParsing` flag was enabled - Otherwise, it will be a string, with the result of decoding the received data as a UTF8 string. If it's a JSON string for example, you still need to call JSON.parse on it. This library does no extra parsing whatsoever.The
headers
parameter passed to the listener callback will be one of the following: - EmptyBuffer
if the feature `NoHeaderStorage` flag was enabled - Non-EmptyBuffer
if the feature `NoHeaderParsing` flag was enabled - Otherwise, an array of parsed headers for each request libcurl made (if there were 2 redirects before the last request, the array will have 3 elements, one for each request)
method setOpt
setOpt: { ( option: DataCallbackOptions, value: ( this: EasyNativeBinding, data: Buffer, size: number, nmemb: number ) => number ): this; ( option: ProgressCallbackOptions, value: ( this: EasyNativeBinding, dltotal: number, dlnow: number, ultotal: number, ulnow: number ) => number ): this; (option: StringListOptions, value: string[]): this; (option: BlobOptions, value: any): this; ( option: 'CHUNK_BGN_FUNCTION', value: ( this: EasyNativeBinding, fileInfo: FileInfo, remains: number ) => CurlChunk ): this; ( option: 'CHUNK_END_FUNCTION', value: (this: EasyNativeBinding) => CurlChunk ): this; ( option: 'DEBUGFUNCTION', value: (this: EasyNativeBinding, type: CurlInfoDebug, data: Buffer) => 0 ): this; ( option: 'FNMATCH_FUNCTION', value: ( this: EasyNativeBinding, pattern: string, value: string ) => CurlFnMatchFunc ): this; ( option: 'HSTSREADFUNCTION', value: ( this: EasyNativeBinding ) => CurlHstsCacheEntry | CurlHstsCacheEntry[] ): this; ( option: 'HSTSWRITEFUNCTION', value: ( this: EasyNativeBinding, cacheEntry: CurlHstsCacheEntry, cacheCount: CurlHstsCacheCount ) => any ): this; ( option: 'PREREQFUNCTION', value: ( this: EasyNativeBinding, connPrimaryIp: string, connLocalIp: string, connPrimaryPort: number, conLocalPort: number ) => CurlPreReqFunc ): this; ( option: 'SEEKFUNCTION', value: ( this: EasyNativeBinding, offset: number, origin: number ) => number ): this; ( option: 'TRAILERFUNCTION', value: (this: EasyNativeBinding) => false | string[] ): this; (option: 'SHARE', value: Share): this; (option: 'HTTPPOST', value: HttpPostField[]): this; (option: 'FTP_SSL_CCC', value: CurlFtpSsl): this; (option: 'FTP_FILEMETHOD', value: CurlFtpMethod): this; (option: 'GSSAPI_DELEGATION', value: CurlGssApi): this; (option: 'HEADEROPT', value: CurlHeader): this; (option: 'HTTP_VERSION', value: CurlHttpVersion): this; (option: 'IPRESOLVE', value: CurlIpResolve): this; (option: 'NETRC', value: CurlNetrc): this; (option: 'PROTOCOLS', value: CurlProtocol): this; (option: 'PROXY_SSL_OPTIONS', value: CurlSslOpt): this; (option: 'PROXYTYPE', value: CurlProxy): this; (option: 'REDIR_PROTOCOLS', value: CurlProtocol): this; (option: 'RTSP_REQUEST', value: CurlRtspRequest): this; (option: 'SSH_AUTH_TYPES', value: CurlSshAuth): this; (option: 'SSL_OPTIONS', value: CurlSslOpt): this; (option: 'SSLVERSION', value: CurlSslVersion): this; (option: 'TIMECONDITION', value: CurlTimeCond): this; (option: 'USE_SSL', value: CurlUseSsl): this; (option: 'HSTS_CTRL', value: CurlHsts): this; ( option: | 'ABSTRACT_UNIX_SOCKET' | 'ACCEPT_ENCODING' | 'ACCEPTTIMEOUT_MS' | 'ADDRESS_SCOPE' | 'ALTSVC' | 'ALTSVC_CTRL' | 'APPEND' | 'AUTOREFERER' | 'AWS_SIGV4' | 'BUFFERSIZE' | 'CAINFO' | 'CAPATH' | 'CERTINFO' | 'CONNECT_ONLY' | 'CONNECTTIMEOUT' | 'CONNECTTIMEOUT_MS' | 'COOKIE' | 'COOKIEFILE' | 'COOKIEJAR' | 'COOKIELIST' | 'COOKIESESSION' | 'CRLF' | 'CRLFILE' | 'CUSTOMREQUEST' | 'DEFAULT_PROTOCOL' | 'DIRLISTONLY' | 'DISALLOW_USERNAME_IN_URL' | 'DNS_CACHE_TIMEOUT' | 'DNS_INTERFACE' | 'DNS_LOCAL_IP4' | 'DNS_LOCAL_IP6' | 'DNS_SERVERS' | 'DNS_SHUFFLE_ADDRESSES' | 'DNS_USE_GLOBAL_CACHE' | 'DOH_SSL_VERIFYHOST' | 'DOH_SSL_VERIFYPEER' | 'DOH_SSL_VERIFYSTATUS' | 'DOH_URL' | 'EGDSOCKET' | 'EXPECT_100_TIMEOUT_MS' | 'FAILONERROR' | 'FILETIME' | 'FOLLOWLOCATION' | 'FORBID_REUSE' | 'FRESH_CONNECT' | 'FTP_ACCOUNT' | 'FTP_ALTERNATIVE_TO_USER' | 'FTP_CREATE_MISSING_DIRS' | 'FTP_SKIP_PASV_IP' | 'FTP_USE_EPRT' | 'FTP_USE_EPSV' | 'FTP_USE_PRET' | 'FTPPORT' | 'FTPSSLAUTH' | 'HAPPY_EYEBALLS_TIMEOUT_MS' | 'HAPROXYPROTOCOL' | 'HEADER' | 'HSTS' | 'HTTP_CONTENT_DECODING' | 'HTTP_TRANSFER_DECODING' | 'HTTP09_ALLOWED' | 'HTTPAUTH' | 'HTTPGET' | 'HTTPPROXYTUNNEL' | 'IGNORE_CONTENT_LENGTH' | 'INFILESIZE' | 'INFILESIZE_LARGE' | 'INTERFACE' | 'ISSUERCERT' | 'KEEP_SENDING_ON_ERROR' | 'KEYPASSWD' | 'KRBLEVEL' | 'LOCALPORT' | 'LOCALPORTRANGE' | 'LOGIN_OPTIONS' | 'LOW_SPEED_LIMIT' | 'LOW_SPEED_TIME' | 'MAIL_AUTH' | 'MAIL_FROM' | 'MAIL_RCPT_ALLLOWFAILS' | 'MAX_RECV_SPEED_LARGE' | 'MAX_SEND_SPEED_LARGE' | 'MAXAGE_CONN' | 'MAXCONNECTS' | 'MAXFILESIZE' | 'MAXFILESIZE_LARGE' | 'MAXLIFETIME_CONN' | 'MAXREDIRS' | 'NETRC_FILE' | 'NEW_DIRECTORY_PERMS' | 'NEW_FILE_PERMS' | 'NOBODY' | 'NOPROGRESS' | 'NOPROXY' | 'NOSIGNAL' | 'PASSWORD' | 'PATH_AS_IS' | 'PINNEDPUBLICKEY' | 'PIPEWAIT' | 'PORT' | 'POST' | 'POSTFIELDS' | 'POSTFIELDSIZE' | 'POSTFIELDSIZE_LARGE' | 'POSTREDIR' | 'PRE_PROXY' | 'PROTOCOLS_STR' | 'PROXY' | 'PROXY_CAINFO' | 'PROXY_CAPATH' | 'PROXY_CRLFILE' | 'PROXY_ISSUERCERT' | 'PROXY_ISSUERCERT_BLOB' | 'PROXY_KEYPASSWD' | 'PROXY_PINNEDPUBLICKEY' | 'PROXY_SERVICE_NAME' | 'PROXY_SSL_CIPHER_LIST' | 'PROXY_SSL_VERIFYHOST' | 'PROXY_SSL_VERIFYPEER' | 'PROXY_SSLCERTTYPE' | 'PROXY_SSLKEY' | 'PROXY_SSLKEYTYPE' | 'PROXY_SSLVERSION' | 'PROXY_TLS13_CIPHERS' | 'PROXY_TLSAUTH_PASSWORD' | 'PROXY_TLSAUTH_TYPE' | 'PROXY_TLSAUTH_USERNAME' | 'PROXY_TRANSFER_MODE' | 'PROXYAUTH' | 'PROXYPASSWORD' | 'PROXYPORT' | 'PROXYUSERNAME' | 'PROXYUSERPWD' | 'PUT' | 'RANDOM_FILE' | 'RANGE' | 'READDATA' | 'REDIR_PROTOCOLS_STR' | 'REFERER' | 'REQUEST_TARGET' | 'RESUME_FROM' | 'RESUME_FROM_LARGE' | 'RTSP_CLIENT_CSEQ' | 'RTSP_SERVER_CSEQ' | 'RTSP_SESSION_ID' | 'RTSP_STREAM_URI' | 'RTSP_TRANSPORT' | 'SASL_AUTHZID' | 'SASL_IR' | 'SERVER_RESPONSE_TIMEOUT' | 'SERVICE_NAME' | 'SOCKS5_AUTH' | 'SOCKS5_GSSAPI_NEC' | 'SOCKS5_GSSAPI_SERVICE' | 'SSH_COMPRESSION' | 'SSH_HOST_PUBLIC_KEY_MD5' | 'SSH_HOSTKEYDATA' | 'SSH_KNOWNHOSTS' | 'SSH_PRIVATE_KEYFILE' | 'SSH_PUBLIC_KEYFILE' | 'SSL_CIPHER_LIST' | 'SSL_EC_CURVES' | 'SSL_ENABLE_ALPN' | 'SSL_ENABLE_NPN' | 'SSL_FALSESTART' | 'SSL_SESSIONID_CACHE' | 'SSL_VERIFYHOST' | 'SSL_VERIFYPEER' | 'SSL_VERIFYSTATUS' | 'SSLCERT' | 'SSLCERTTYPE' | 'SSLENGINE' | 'SSLENGINE_DEFAULT' | 'SSLKEY' | 'SSLKEYTYPE' | 'SUPPRESS_CONNECT_HEADERS' | 'TCP_FASTOPEN' | 'TCP_KEEPALIVE' | 'TCP_KEEPIDLE' | 'TCP_KEEPINTVL' | 'TCP_NODELAY' | 'TFTP_BLKSIZE' | 'TFTP_NO_OPTIONS' | 'TIMEOUT' | 'TIMEOUT_MS' | 'TIMEVALUE' | 'TIMEVALUE_LARGE' | 'TLS13_CIPHERS' | 'TLSAUTH_PASSWORD' | 'TLSAUTH_TYPE' | 'TLSAUTH_USERNAME' | 'TRANSFER_ENCODING' | 'TRANSFERTEXT' | 'UNIX_SOCKET_PATH' | 'UNRESTRICTED_AUTH' | 'UPKEEP_INTERVAL_MS' | 'UPLOAD' | 'UPLOAD_BUFFERSIZE' | 'URL' | 'USERAGENT' | 'USERNAME' | 'USERPWD' | 'VERBOSE' | 'WILDCARDMATCH' | 'XOAUTH2_BEARER', value: string | number | boolean ): this;};
Use `Curl.option` for predefined constants.
Official libcurl documentation: [
curl_easy_setopt()
](http://curl.haxx.se/libcurl/c/curl_easy_setopt.html)Use `Curl.option` for predefined constants.
You can either return a single
CurlHstsReadCallbackResult
object or an array ofCurlHstsReadCallbackResult
objects. If returning an array, the callback will only be called once per request. If returning a single object, the callback will be called multiple times untilnull
is returned.Official libcurl documentation: [
curl_easy_setopt()
](http://curl.haxx.se/libcurl/c/curl_easy_setopt.html)
interface CurlHstsCacheCount
interface CurlHstsCacheCount {}
interface CurlHstsCacheEntry
interface CurlHstsCacheEntry {}
property expire
expire?: string | null;
The expiration date for the cache entry as a string in the following format:
'YYYYMMDD HH:MM:SS'If not set or if null, it will default to a date far away in the future (currently
99991231 23:59:59
).
property host
host: string;
The host name.
Example:
google.com
property includeSubDomains
includeSubDomains?: boolean;
If subdomains must be included. If not set, defaults to
false
.
interface CurlInfo
interface CurlInfo {}
Modifiers
@public
property ACTIVESOCKET
readonly ACTIVESOCKET: 'ACTIVESOCKET';
The session's active socket.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLINFO_ACTIVESOCKET.html](https://curl.haxx.se/libcurl/c/CURLINFO_ACTIVESOCKET.html)
property APPCONNECT_TIME
readonly APPCONNECT_TIME: 'APPCONNECT_TIME';
Time from start until SSL/SSH handshake completed.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLINFO_APPCONNECT_TIME.html](https://curl.haxx.se/libcurl/c/CURLINFO_APPCONNECT_TIME.html)
property APPCONNECT_TIME_T
readonly APPCONNECT_TIME_T: 'APPCONNECT_TIME_T';
Time from start until SSL/SSH handshake completed.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLINFO_APPCONNECT_TIME_T.html](https://curl.haxx.se/libcurl/c/CURLINFO_APPCONNECT_TIME_T.html)
property CAINFO
readonly CAINFO: 'CAINFO';
Get the default value for .
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLINFO_CAINFO.html](https://curl.haxx.se/libcurl/c/CURLINFO_CAINFO.html)
property CAPATH
readonly CAPATH: 'CAPATH';
Get the default value for .
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLINFO_CAPATH.html](https://curl.haxx.se/libcurl/c/CURLINFO_CAPATH.html)
property CERTINFO
readonly CERTINFO: 'CERTINFO';
Certificate chain.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLINFO_CERTINFO.html](https://curl.haxx.se/libcurl/c/CURLINFO_CERTINFO.html)
property CONDITION_UNMET
readonly CONDITION_UNMET: 'CONDITION_UNMET';
Whether or not a time conditional was met or 304 HTTP response.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLINFO_CONDITION_UNMET.html](https://curl.haxx.se/libcurl/c/CURLINFO_CONDITION_UNMET.html)
property CONNECT_TIME
readonly CONNECT_TIME: 'CONNECT_TIME';
Time from start until remote host or proxy completed.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLINFO_CONNECT_TIME.html](https://curl.haxx.se/libcurl/c/CURLINFO_CONNECT_TIME.html)
property CONNECT_TIME_T
readonly CONNECT_TIME_T: 'CONNECT_TIME_T';
Time from start until remote host or proxy completed.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLINFO_CONNECT_TIME_T.html](https://curl.haxx.se/libcurl/c/CURLINFO_CONNECT_TIME_T.html)
property CONTENT_LENGTH_DOWNLOAD
readonly CONTENT_LENGTH_DOWNLOAD: 'CONTENT_LENGTH_DOWNLOAD';
(Deprecated) Content length from the Content-Length header.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLINFO_CONTENT_LENGTH_DOWNLOAD.html](https://curl.haxx.se/libcurl/c/CURLINFO_CONTENT_LENGTH_DOWNLOAD.html)
property CONTENT_LENGTH_DOWNLOAD_T
readonly CONTENT_LENGTH_DOWNLOAD_T: 'CONTENT_LENGTH_DOWNLOAD_T';
Content length from the Content-Length header.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLINFO_CONTENT_LENGTH_DOWNLOAD_T.html](https://curl.haxx.se/libcurl/c/CURLINFO_CONTENT_LENGTH_DOWNLOAD_T.html)
property CONTENT_LENGTH_UPLOAD
readonly CONTENT_LENGTH_UPLOAD: 'CONTENT_LENGTH_UPLOAD';
(Deprecated) Upload size.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLINFO_CONTENT_LENGTH_UPLOAD.html](https://curl.haxx.se/libcurl/c/CURLINFO_CONTENT_LENGTH_UPLOAD.html)
property CONTENT_LENGTH_UPLOAD_T
readonly CONTENT_LENGTH_UPLOAD_T: 'CONTENT_LENGTH_UPLOAD_T';
Upload size.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLINFO_CONTENT_LENGTH_UPLOAD_T.html](https://curl.haxx.se/libcurl/c/CURLINFO_CONTENT_LENGTH_UPLOAD_T.html)
property CONTENT_TYPE
readonly CONTENT_TYPE: 'CONTENT_TYPE';
Content type from the Content-Type header.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLINFO_CONTENT_TYPE.html](https://curl.haxx.se/libcurl/c/CURLINFO_CONTENT_TYPE.html)
property COOKIELIST
readonly COOKIELIST: 'COOKIELIST';
List of all known cookies.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLINFO_COOKIELIST.html](https://curl.haxx.se/libcurl/c/CURLINFO_COOKIELIST.html)
property EFFECTIVE_METHOD
readonly EFFECTIVE_METHOD: 'EFFECTIVE_METHOD';
Last used HTTP method.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLINFO_EFFECTIVE_METHOD.html](https://curl.haxx.se/libcurl/c/CURLINFO_EFFECTIVE_METHOD.html)
property EFFECTIVE_URL
readonly EFFECTIVE_URL: 'EFFECTIVE_URL';
Last used URL.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLINFO_EFFECTIVE_URL.html](https://curl.haxx.se/libcurl/c/CURLINFO_EFFECTIVE_URL.html)
property FILETIME
readonly FILETIME: 'FILETIME';
Remote time of the retrieved document.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLINFO_FILETIME.html](https://curl.haxx.se/libcurl/c/CURLINFO_FILETIME.html)
property FILETIME_T
readonly FILETIME_T: 'FILETIME_T';
Remote time of the retrieved document.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLINFO_FILETIME_T.html](https://curl.haxx.se/libcurl/c/CURLINFO_FILETIME_T.html)
property FTP_ENTRY_PATH
readonly FTP_ENTRY_PATH: 'FTP_ENTRY_PATH';
The entry path after logging in to an FTP server.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLINFO_FTP_ENTRY_PATH.html](https://curl.haxx.se/libcurl/c/CURLINFO_FTP_ENTRY_PATH.html)
property HEADER_SIZE
readonly HEADER_SIZE: 'HEADER_SIZE';
Number of bytes of all headers received.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLINFO_HEADER_SIZE.html](https://curl.haxx.se/libcurl/c/CURLINFO_HEADER_SIZE.html)
property HTTP_CONNECTCODE
readonly HTTP_CONNECTCODE: 'HTTP_CONNECTCODE';
Last proxy CONNECT response code.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLINFO_HTTP_CONNECTCODE.html](https://curl.haxx.se/libcurl/c/CURLINFO_HTTP_CONNECTCODE.html)
property HTTP_VERSION
readonly HTTP_VERSION: 'HTTP_VERSION';
The http version used in the connection.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLINFO_HTTP_VERSION.html](https://curl.haxx.se/libcurl/c/CURLINFO_HTTP_VERSION.html)
property HTTPAUTH_AVAIL
readonly HTTPAUTH_AVAIL: 'HTTPAUTH_AVAIL';
Available HTTP authentication methods.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLINFO_HTTPAUTH_AVAIL.html](https://curl.haxx.se/libcurl/c/CURLINFO_HTTPAUTH_AVAIL.html)
property LASTSOCKET
readonly LASTSOCKET: 'LASTSOCKET';
(Deprecated) Last socket used.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLINFO_LASTSOCKET.html](https://curl.haxx.se/libcurl/c/CURLINFO_LASTSOCKET.html)
property LOCAL_IP
readonly LOCAL_IP: 'LOCAL_IP';
Local-end IP address of last connection.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLINFO_LOCAL_IP.html](https://curl.haxx.se/libcurl/c/CURLINFO_LOCAL_IP.html)
property LOCAL_PORT
readonly LOCAL_PORT: 'LOCAL_PORT';
Local-end port of last connection.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLINFO_LOCAL_PORT.html](https://curl.haxx.se/libcurl/c/CURLINFO_LOCAL_PORT.html)
property NAMELOOKUP_TIME
readonly NAMELOOKUP_TIME: 'NAMELOOKUP_TIME';
Time from start until name resolving completed.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLINFO_NAMELOOKUP_TIME.html](https://curl.haxx.se/libcurl/c/CURLINFO_NAMELOOKUP_TIME.html)
property NAMELOOKUP_TIME_T
readonly NAMELOOKUP_TIME_T: 'NAMELOOKUP_TIME_T';
Time from start until name resolving completed.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLINFO_NAMELOOKUP_TIME_T.html](https://curl.haxx.se/libcurl/c/CURLINFO_NAMELOOKUP_TIME_T.html)
property NUM_CONNECTS
readonly NUM_CONNECTS: 'NUM_CONNECTS';
Number of new successful connections used for previous transfer.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLINFO_NUM_CONNECTS.html](https://curl.haxx.se/libcurl/c/CURLINFO_NUM_CONNECTS.html)
property OS_ERRNO
readonly OS_ERRNO: 'OS_ERRNO';
The errno from the last failure to connect.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLINFO_OS_ERRNO.html](https://curl.haxx.se/libcurl/c/CURLINFO_OS_ERRNO.html)
property PRETRANSFER_TIME
readonly PRETRANSFER_TIME: 'PRETRANSFER_TIME';
Time from start until just before the transfer begins.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLINFO_PRETRANSFER_TIME.html](https://curl.haxx.se/libcurl/c/CURLINFO_PRETRANSFER_TIME.html)
property PRETRANSFER_TIME_T
readonly PRETRANSFER_TIME_T: 'PRETRANSFER_TIME_T';
Time from start until just before the transfer begins.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLINFO_PRETRANSFER_TIME_T.html](https://curl.haxx.se/libcurl/c/CURLINFO_PRETRANSFER_TIME_T.html)
property PRIMARY_IP
readonly PRIMARY_IP: 'PRIMARY_IP';
IP address of the last connection.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLINFO_PRIMARY_IP.html](https://curl.haxx.se/libcurl/c/CURLINFO_PRIMARY_IP.html)
property PRIMARY_PORT
readonly PRIMARY_PORT: 'PRIMARY_PORT';
Port of the last connection.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLINFO_PRIMARY_PORT.html](https://curl.haxx.se/libcurl/c/CURLINFO_PRIMARY_PORT.html)
property PRIVATE
readonly PRIVATE: 'PRIVATE';
User's private data pointer.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLINFO_PRIVATE.html](https://curl.haxx.se/libcurl/c/CURLINFO_PRIVATE.html)
property PROTOCOL
readonly PROTOCOL: 'PROTOCOL';
(Deprecated) The protocol used for the connection. (Added in 7.52.0)
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLINFO_PROTOCOL.html](https://curl.haxx.se/libcurl/c/CURLINFO_PROTOCOL.html)
property PROXY_ERROR
readonly PROXY_ERROR: 'PROXY_ERROR';
Detailed proxy error.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLINFO_PROXY_ERROR.html](https://curl.haxx.se/libcurl/c/CURLINFO_PROXY_ERROR.html)
property PROXY_SSL_VERIFYRESULT
readonly PROXY_SSL_VERIFYRESULT: 'PROXY_SSL_VERIFYRESULT';
Proxy certificate verification result.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLINFO_PROXY_SSL_VERIFYRESULT.html](https://curl.haxx.se/libcurl/c/CURLINFO_PROXY_SSL_VERIFYRESULT.html)
property PROXYAUTH_AVAIL
readonly PROXYAUTH_AVAIL: 'PROXYAUTH_AVAIL';
Available HTTP proxy authentication methods.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLINFO_PROXYAUTH_AVAIL.html](https://curl.haxx.se/libcurl/c/CURLINFO_PROXYAUTH_AVAIL.html)
property REDIRECT_COUNT
readonly REDIRECT_COUNT: 'REDIRECT_COUNT';
Total number of redirects that were followed.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLINFO_REDIRECT_COUNT.html](https://curl.haxx.se/libcurl/c/CURLINFO_REDIRECT_COUNT.html)
property REDIRECT_TIME
readonly REDIRECT_TIME: 'REDIRECT_TIME';
Time taken for all redirect steps before the final transfer.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLINFO_REDIRECT_TIME.html](https://curl.haxx.se/libcurl/c/CURLINFO_REDIRECT_TIME.html)
property REDIRECT_TIME_T
readonly REDIRECT_TIME_T: 'REDIRECT_TIME_T';
Time taken for all redirect steps before the final transfer.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLINFO_REDIRECT_TIME_T.html](https://curl.haxx.se/libcurl/c/CURLINFO_REDIRECT_TIME_T.html)
property REDIRECT_URL
readonly REDIRECT_URL: 'REDIRECT_URL';
URL a redirect would take you to, had you enabled redirects.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLINFO_REDIRECT_URL.html](https://curl.haxx.se/libcurl/c/CURLINFO_REDIRECT_URL.html)
property REFERER
readonly REFERER: 'REFERER';
Referrer header.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLINFO_REFERER.html](https://curl.haxx.se/libcurl/c/CURLINFO_REFERER.html)
property REQUEST_SIZE
readonly REQUEST_SIZE: 'REQUEST_SIZE';
Number of bytes sent in the issued HTTP requests.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLINFO_REQUEST_SIZE.html](https://curl.haxx.se/libcurl/c/CURLINFO_REQUEST_SIZE.html)
property RESPONSE_CODE
readonly RESPONSE_CODE: 'RESPONSE_CODE';
Last received response code.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLINFO_RESPONSE_CODE.html](https://curl.haxx.se/libcurl/c/CURLINFO_RESPONSE_CODE.html)
property RETRY_AFTER
readonly RETRY_AFTER: 'RETRY_AFTER';
The value from the from the Retry-After header.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLINFO_RETRY_AFTER.html](https://curl.haxx.se/libcurl/c/CURLINFO_RETRY_AFTER.html)
property RTSP_CLIENT_CSEQ
readonly RTSP_CLIENT_CSEQ: 'RTSP_CLIENT_CSEQ';
RTSP CSeq that will next be used.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLINFO_RTSP_CLIENT_CSEQ.html](https://curl.haxx.se/libcurl/c/CURLINFO_RTSP_CLIENT_CSEQ.html)
property RTSP_CSEQ_RECV
readonly RTSP_CSEQ_RECV: 'RTSP_CSEQ_RECV';
RTSP CSeq last received.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLINFO_RTSP_CSEQ_RECV.html](https://curl.haxx.se/libcurl/c/CURLINFO_RTSP_CSEQ_RECV.html)
property RTSP_SERVER_CSEQ
readonly RTSP_SERVER_CSEQ: 'RTSP_SERVER_CSEQ';
RTSP CSeq that will next be expected.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLINFO_RTSP_SERVER_CSEQ.html](https://curl.haxx.se/libcurl/c/CURLINFO_RTSP_SERVER_CSEQ.html)
property RTSP_SESSION_ID
readonly RTSP_SESSION_ID: 'RTSP_SESSION_ID';
RTSP session ID.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLINFO_RTSP_SESSION_ID.html](https://curl.haxx.se/libcurl/c/CURLINFO_RTSP_SESSION_ID.html)
property SCHEME
readonly SCHEME: 'SCHEME';
The scheme used for the connection. (Added in 7.52.0)
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLINFO_SCHEME.html](https://curl.haxx.se/libcurl/c/CURLINFO_SCHEME.html)
property SIZE_DOWNLOAD
readonly SIZE_DOWNLOAD: 'SIZE_DOWNLOAD';
(Deprecated) Number of bytes downloaded.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLINFO_SIZE_DOWNLOAD.html](https://curl.haxx.se/libcurl/c/CURLINFO_SIZE_DOWNLOAD.html)
property SIZE_DOWNLOAD_T
readonly SIZE_DOWNLOAD_T: 'SIZE_DOWNLOAD_T';
Number of bytes downloaded.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLINFO_SIZE_DOWNLOAD_T.html](https://curl.haxx.se/libcurl/c/CURLINFO_SIZE_DOWNLOAD_T.html)
property SIZE_UPLOAD
readonly SIZE_UPLOAD: 'SIZE_UPLOAD';
(Deprecated) Number of bytes uploaded.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLINFO_SIZE_UPLOAD.html](https://curl.haxx.se/libcurl/c/CURLINFO_SIZE_UPLOAD.html)
property SIZE_UPLOAD_T
readonly SIZE_UPLOAD_T: 'SIZE_UPLOAD_T';
Number of bytes uploaded.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLINFO_SIZE_UPLOAD_T.html](https://curl.haxx.se/libcurl/c/CURLINFO_SIZE_UPLOAD_T.html)
property SPEED_DOWNLOAD
readonly SPEED_DOWNLOAD: 'SPEED_DOWNLOAD';
(Deprecated) Average download speed.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLINFO_SPEED_DOWNLOAD.html](https://curl.haxx.se/libcurl/c/CURLINFO_SPEED_DOWNLOAD.html)
property SPEED_DOWNLOAD_T
readonly SPEED_DOWNLOAD_T: 'SPEED_DOWNLOAD_T';
Average download speed.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLINFO_SPEED_DOWNLOAD_T.html](https://curl.haxx.se/libcurl/c/CURLINFO_SPEED_DOWNLOAD_T.html)
property SPEED_UPLOAD
readonly SPEED_UPLOAD: 'SPEED_UPLOAD';
(Deprecated) Average upload speed.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLINFO_SPEED_UPLOAD.html](https://curl.haxx.se/libcurl/c/CURLINFO_SPEED_UPLOAD.html)
property SPEED_UPLOAD_T
readonly SPEED_UPLOAD_T: 'SPEED_UPLOAD_T';
Average upload speed.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLINFO_SPEED_UPLOAD_T.html](https://curl.haxx.se/libcurl/c/CURLINFO_SPEED_UPLOAD_T.html)
property SSL_ENGINES
readonly SSL_ENGINES: 'SSL_ENGINES';
A list of OpenSSL crypto engines.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLINFO_SSL_ENGINES.html](https://curl.haxx.se/libcurl/c/CURLINFO_SSL_ENGINES.html)
property SSL_VERIFYRESULT
readonly SSL_VERIFYRESULT: 'SSL_VERIFYRESULT';
Certificate verification result.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLINFO_SSL_VERIFYRESULT.html](https://curl.haxx.se/libcurl/c/CURLINFO_SSL_VERIFYRESULT.html)
property STARTTRANSFER_TIME
readonly STARTTRANSFER_TIME: 'STARTTRANSFER_TIME';
Time from start until just when the first byte is received.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLINFO_STARTTRANSFER_TIME.html](https://curl.haxx.se/libcurl/c/CURLINFO_STARTTRANSFER_TIME.html)
property STARTTRANSFER_TIME_T
readonly STARTTRANSFER_TIME_T: 'STARTTRANSFER_TIME_T';
Time from start until just when the first byte is received.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLINFO_STARTTRANSFER_TIME_T.html](https://curl.haxx.se/libcurl/c/CURLINFO_STARTTRANSFER_TIME_T.html)
property TLS_SESSION
readonly TLS_SESSION: 'TLS_SESSION';
TLS session info that can be used for further processing. See . Deprecated option, use instead!
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLINFO_TLS_SESSION.html](https://curl.haxx.se/libcurl/c/CURLINFO_TLS_SESSION.html)
property TLS_SSL_PTR
readonly TLS_SSL_PTR: 'TLS_SSL_PTR';
TLS session info that can be used for further processing.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLINFO_TLS_SSL_PTR.html](https://curl.haxx.se/libcurl/c/CURLINFO_TLS_SSL_PTR.html)
property TOTAL_TIME
readonly TOTAL_TIME: 'TOTAL_TIME';
Total time of previous transfer.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLINFO_TOTAL_TIME.html](https://curl.haxx.se/libcurl/c/CURLINFO_TOTAL_TIME.html)
property TOTAL_TIME_T
readonly TOTAL_TIME_T: 'TOTAL_TIME_T';
Total time of previous transfer.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLINFO_TOTAL_TIME_T.html](https://curl.haxx.se/libcurl/c/CURLINFO_TOTAL_TIME_T.html)
interface CurlOption
interface CurlOption {}
Modifiers
@public
property ABSTRACT_UNIX_SOCKET
readonly ABSTRACT_UNIX_SOCKET: 'ABSTRACT_UNIX_SOCKET';
Path to an abstract Unix domain socket.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_ABSTRACT_UNIX_SOCKET.html](https://curl.haxx.se/libcurl/c/CURLOPT_ABSTRACT_UNIX_SOCKET.html)
property ACCEPT_ENCODING
readonly ACCEPT_ENCODING: 'ACCEPT_ENCODING';
Accept-Encoding and automatic decompressing data.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_ACCEPT_ENCODING.html](https://curl.haxx.se/libcurl/c/CURLOPT_ACCEPT_ENCODING.html)
property ACCEPTTIMEOUT_MS
readonly ACCEPTTIMEOUT_MS: 'ACCEPTTIMEOUT_MS';
Timeout for waiting for the server's connect back to be accepted.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_ACCEPTTIMEOUT_MS.html](https://curl.haxx.se/libcurl/c/CURLOPT_ACCEPTTIMEOUT_MS.html)
property ADDRESS_SCOPE
readonly ADDRESS_SCOPE: 'ADDRESS_SCOPE';
IPv6 scope for local addresses.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_ADDRESS_SCOPE.html](https://curl.haxx.se/libcurl/c/CURLOPT_ADDRESS_SCOPE.html)
property ALTSVC
readonly ALTSVC: 'ALTSVC';
Specify the Alt-Svc: cache file name.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_ALTSVC.html](https://curl.haxx.se/libcurl/c/CURLOPT_ALTSVC.html)
property ALTSVC_CTRL
readonly ALTSVC_CTRL: 'ALTSVC_CTRL';
Enable and configure Alt-Svc: treatment.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_ALTSVC_CTRL.html](https://curl.haxx.se/libcurl/c/CURLOPT_ALTSVC_CTRL.html)
property APPEND
readonly APPEND: 'APPEND';
Append to remote file.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_APPEND.html](https://curl.haxx.se/libcurl/c/CURLOPT_APPEND.html)
property AUTOREFERER
readonly AUTOREFERER: 'AUTOREFERER';
Automatically set Referer: header.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_AUTOREFERER.html](https://curl.haxx.se/libcurl/c/CURLOPT_AUTOREFERER.html)
property AWS_SIGV4
readonly AWS_SIGV4: 'AWS_SIGV4';
AWS HTTP V4 Signature.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_AWS_SIGV4.html](https://curl.haxx.se/libcurl/c/CURLOPT_AWS_SIGV4.html)
property BUFFERSIZE
readonly BUFFERSIZE: 'BUFFERSIZE';
Ask for alternate buffer size.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_BUFFERSIZE.html](https://curl.haxx.se/libcurl/c/CURLOPT_BUFFERSIZE.html)
property CAINFO
readonly CAINFO: 'CAINFO';
CA cert bundle.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_CAINFO.html](https://curl.haxx.se/libcurl/c/CURLOPT_CAINFO.html)
property CAINFO_BLOB
readonly CAINFO_BLOB: 'CAINFO_BLOB';
CA cert bundle memory buffer.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_CAINFO_BLOB.html](https://curl.haxx.se/libcurl/c/CURLOPT_CAINFO_BLOB.html)
property CAPATH
readonly CAPATH: 'CAPATH';
Path to CA cert bundle.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_CAPATH.html](https://curl.haxx.se/libcurl/c/CURLOPT_CAPATH.html)
property CERTINFO
readonly CERTINFO: 'CERTINFO';
Extract certificate info.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_CERTINFO.html](https://curl.haxx.se/libcurl/c/CURLOPT_CERTINFO.html)
property CHUNK_BGN_FUNCTION
readonly CHUNK_BGN_FUNCTION: 'CHUNK_BGN_FUNCTION';
Callback for wildcard download start of chunk.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_CHUNK_BGN_FUNCTION.html](https://curl.haxx.se/libcurl/c/CURLOPT_CHUNK_BGN_FUNCTION.html)
property CHUNK_END_FUNCTION
readonly CHUNK_END_FUNCTION: 'CHUNK_END_FUNCTION';
Callback for wildcard download end of chunk.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_CHUNK_END_FUNCTION.html](https://curl.haxx.se/libcurl/c/CURLOPT_CHUNK_END_FUNCTION.html)
property CONNECT_ONLY
readonly CONNECT_ONLY: 'CONNECT_ONLY';
Only connect, nothing else.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_CONNECT_ONLY.html](https://curl.haxx.se/libcurl/c/CURLOPT_CONNECT_ONLY.html)
property CONNECT_TO
readonly CONNECT_TO: 'CONNECT_TO';
Connect to a specific host and port.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_CONNECT_TO.html](https://curl.haxx.se/libcurl/c/CURLOPT_CONNECT_TO.html)
property CONNECTTIMEOUT
readonly CONNECTTIMEOUT: 'CONNECTTIMEOUT';
Timeout for the connection phase.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_CONNECTTIMEOUT.html](https://curl.haxx.se/libcurl/c/CURLOPT_CONNECTTIMEOUT.html)
property CONNECTTIMEOUT_MS
readonly CONNECTTIMEOUT_MS: 'CONNECTTIMEOUT_MS';
Millisecond timeout for the connection phase.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_CONNECTTIMEOUT_MS.html](https://curl.haxx.se/libcurl/c/CURLOPT_CONNECTTIMEOUT_MS.html)
property COOKIE
readonly COOKIE: 'COOKIE';
Cookie(s) to send.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_COOKIE.html](https://curl.haxx.se/libcurl/c/CURLOPT_COOKIE.html)
property COOKIEFILE
readonly COOKIEFILE: 'COOKIEFILE';
File to read cookies from.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_COOKIEFILE.html](https://curl.haxx.se/libcurl/c/CURLOPT_COOKIEFILE.html)
property COOKIEJAR
readonly COOKIEJAR: 'COOKIEJAR';
File to write cookies to.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_COOKIEJAR.html](https://curl.haxx.se/libcurl/c/CURLOPT_COOKIEJAR.html)
property COOKIELIST
readonly COOKIELIST: 'COOKIELIST';
Add or control cookies.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_COOKIELIST.html](https://curl.haxx.se/libcurl/c/CURLOPT_COOKIELIST.html)
property COOKIESESSION
readonly COOKIESESSION: 'COOKIESESSION';
Start a new cookie session.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_COOKIESESSION.html](https://curl.haxx.se/libcurl/c/CURLOPT_COOKIESESSION.html)
property CRLF
readonly CRLF: 'CRLF';
Convert newlines.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_CRLF.html](https://curl.haxx.se/libcurl/c/CURLOPT_CRLF.html)
property CRLFILE
readonly CRLFILE: 'CRLFILE';
Certificate Revocation List.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_CRLFILE.html](https://curl.haxx.se/libcurl/c/CURLOPT_CRLFILE.html)
property CUSTOMREQUEST
readonly CUSTOMREQUEST: 'CUSTOMREQUEST';
Custom request/method.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_CUSTOMREQUEST.html](https://curl.haxx.se/libcurl/c/CURLOPT_CUSTOMREQUEST.html)
property DEBUGFUNCTION
readonly DEBUGFUNCTION: 'DEBUGFUNCTION';
Callback for debug information.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_DEBUGFUNCTION.html](https://curl.haxx.se/libcurl/c/CURLOPT_DEBUGFUNCTION.html)
property DEFAULT_PROTOCOL
readonly DEFAULT_PROTOCOL: 'DEFAULT_PROTOCOL';
Default protocol.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_DEFAULT_PROTOCOL.html](https://curl.haxx.se/libcurl/c/CURLOPT_DEFAULT_PROTOCOL.html)
property DIRLISTONLY
readonly DIRLISTONLY: 'DIRLISTONLY';
List only.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_DIRLISTONLY.html](https://curl.haxx.se/libcurl/c/CURLOPT_DIRLISTONLY.html)
property DISALLOW_USERNAME_IN_URL
readonly DISALLOW_USERNAME_IN_URL: 'DISALLOW_USERNAME_IN_URL';
Do not allow username in URL.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_DISALLOW_USERNAME_IN_URL.html](https://curl.haxx.se/libcurl/c/CURLOPT_DISALLOW_USERNAME_IN_URL.html)
property DNS_CACHE_TIMEOUT
readonly DNS_CACHE_TIMEOUT: 'DNS_CACHE_TIMEOUT';
Timeout for DNS cache.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_DNS_CACHE_TIMEOUT.html](https://curl.haxx.se/libcurl/c/CURLOPT_DNS_CACHE_TIMEOUT.html)
property DNS_INTERFACE
readonly DNS_INTERFACE: 'DNS_INTERFACE';
Bind name resolves to this interface.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_DNS_INTERFACE.html](https://curl.haxx.se/libcurl/c/CURLOPT_DNS_INTERFACE.html)
property DNS_LOCAL_IP4
readonly DNS_LOCAL_IP4: 'DNS_LOCAL_IP4';
Bind name resolves to this IP4 address.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_DNS_LOCAL_IP4.html](https://curl.haxx.se/libcurl/c/CURLOPT_DNS_LOCAL_IP4.html)
property DNS_LOCAL_IP6
readonly DNS_LOCAL_IP6: 'DNS_LOCAL_IP6';
Bind name resolves to this IP6 address.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_DNS_LOCAL_IP6.html](https://curl.haxx.se/libcurl/c/CURLOPT_DNS_LOCAL_IP6.html)
property DNS_SERVERS
readonly DNS_SERVERS: 'DNS_SERVERS';
Preferred DNS servers.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_DNS_SERVERS.html](https://curl.haxx.se/libcurl/c/CURLOPT_DNS_SERVERS.html)
property DNS_SHUFFLE_ADDRESSES
readonly DNS_SHUFFLE_ADDRESSES: 'DNS_SHUFFLE_ADDRESSES';
Shuffle addresses before use.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_DNS_SHUFFLE_ADDRESSES.html](https://curl.haxx.se/libcurl/c/CURLOPT_DNS_SHUFFLE_ADDRESSES.html)
property DNS_USE_GLOBAL_CACHE
readonly DNS_USE_GLOBAL_CACHE: 'DNS_USE_GLOBAL_CACHE';
OBSOLETE Enable global DNS cache.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_DNS_USE_GLOBAL_CACHE.html](https://curl.haxx.se/libcurl/c/CURLOPT_DNS_USE_GLOBAL_CACHE.html)
property DOH_SSL_VERIFYHOST
readonly DOH_SSL_VERIFYHOST: 'DOH_SSL_VERIFYHOST';
Verify the host name in the DoH (DNS-over-HTTPS) SSL certificate.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_DOH_SSL_VERIFYHOST.html](https://curl.haxx.se/libcurl/c/CURLOPT_DOH_SSL_VERIFYHOST.html)
property DOH_SSL_VERIFYPEER
readonly DOH_SSL_VERIFYPEER: 'DOH_SSL_VERIFYPEER';
Verify the DoH (DNS-over-HTTPS) SSL certificate.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_DOH_SSL_VERIFYPEER.html](https://curl.haxx.se/libcurl/c/CURLOPT_DOH_SSL_VERIFYPEER.html)
property DOH_SSL_VERIFYSTATUS
readonly DOH_SSL_VERIFYSTATUS: 'DOH_SSL_VERIFYSTATUS';
Verify the DoH (DNS-over-HTTPS) SSL certificate's status.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_DOH_SSL_VERIFYSTATUS.html](https://curl.haxx.se/libcurl/c/CURLOPT_DOH_SSL_VERIFYSTATUS.html)
property DOH_URL
readonly DOH_URL: 'DOH_URL';
Use this DoH server for name resolves.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_DOH_URL.html](https://curl.haxx.se/libcurl/c/CURLOPT_DOH_URL.html)
property EGDSOCKET
readonly EGDSOCKET: 'EGDSOCKET';
OBSOLETE Identify EGD socket for entropy.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_EGDSOCKET.html](https://curl.haxx.se/libcurl/c/CURLOPT_EGDSOCKET.html)
property EXPECT_100_TIMEOUT_MS
readonly EXPECT_100_TIMEOUT_MS: 'EXPECT_100_TIMEOUT_MS';
100-continue timeout.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_EXPECT_100_TIMEOUT_MS.html](https://curl.haxx.se/libcurl/c/CURLOPT_EXPECT_100_TIMEOUT_MS.html)
property FAILONERROR
readonly FAILONERROR: 'FAILONERROR';
Fail on HTTP 4xx errors.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_FAILONERROR.html](https://curl.haxx.se/libcurl/c/CURLOPT_FAILONERROR.html)
property FILETIME
readonly FILETIME: 'FILETIME';
Request file modification date and time.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_FILETIME.html](https://curl.haxx.se/libcurl/c/CURLOPT_FILETIME.html)
property FNMATCH_FUNCTION
readonly FNMATCH_FUNCTION: 'FNMATCH_FUNCTION';
Callback for wildcard matching.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_FNMATCH_FUNCTION.html](https://curl.haxx.se/libcurl/c/CURLOPT_FNMATCH_FUNCTION.html)
property FOLLOWLOCATION
readonly FOLLOWLOCATION: 'FOLLOWLOCATION';
Follow HTTP redirects.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_FOLLOWLOCATION.html](https://curl.haxx.se/libcurl/c/CURLOPT_FOLLOWLOCATION.html)
property FORBID_REUSE
readonly FORBID_REUSE: 'FORBID_REUSE';
Prevent subsequent connections from re-using this.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_FORBID_REUSE.html](https://curl.haxx.se/libcurl/c/CURLOPT_FORBID_REUSE.html)
property FRESH_CONNECT
readonly FRESH_CONNECT: 'FRESH_CONNECT';
Use a new connection.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_FRESH_CONNECT.html](https://curl.haxx.se/libcurl/c/CURLOPT_FRESH_CONNECT.html)
property FTP_ACCOUNT
readonly FTP_ACCOUNT: 'FTP_ACCOUNT';
Send ACCT command.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_FTP_ACCOUNT.html](https://curl.haxx.se/libcurl/c/CURLOPT_FTP_ACCOUNT.html)
property FTP_ALTERNATIVE_TO_USER
readonly FTP_ALTERNATIVE_TO_USER: 'FTP_ALTERNATIVE_TO_USER';
Alternative to USER.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_FTP_ALTERNATIVE_TO_USER.html](https://curl.haxx.se/libcurl/c/CURLOPT_FTP_ALTERNATIVE_TO_USER.html)
property FTP_CREATE_MISSING_DIRS
readonly FTP_CREATE_MISSING_DIRS: 'FTP_CREATE_MISSING_DIRS';
Create missing directories on the remote server.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_FTP_CREATE_MISSING_DIRS.html](https://curl.haxx.se/libcurl/c/CURLOPT_FTP_CREATE_MISSING_DIRS.html)
property FTP_FILEMETHOD
readonly FTP_FILEMETHOD: 'FTP_FILEMETHOD';
Specify how to reach files.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_FTP_FILEMETHOD.html](https://curl.haxx.se/libcurl/c/CURLOPT_FTP_FILEMETHOD.html)
property FTP_SKIP_PASV_IP
readonly FTP_SKIP_PASV_IP: 'FTP_SKIP_PASV_IP';
Ignore the IP address in the PASV response.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_FTP_SKIP_PASV_IP.html](https://curl.haxx.se/libcurl/c/CURLOPT_FTP_SKIP_PASV_IP.html)
property FTP_SSL_CCC
readonly FTP_SSL_CCC: 'FTP_SSL_CCC';
Back to non-TLS again after authentication.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_FTP_SSL_CCC.html](https://curl.haxx.se/libcurl/c/CURLOPT_FTP_SSL_CCC.html)
property FTP_USE_EPRT
readonly FTP_USE_EPRT: 'FTP_USE_EPRT';
Use EPRT.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_FTP_USE_EPRT.html](https://curl.haxx.se/libcurl/c/CURLOPT_FTP_USE_EPRT.html)
property FTP_USE_EPSV
readonly FTP_USE_EPSV: 'FTP_USE_EPSV';
Use EPSV.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_FTP_USE_EPSV.html](https://curl.haxx.se/libcurl/c/CURLOPT_FTP_USE_EPSV.html)
property FTP_USE_PRET
readonly FTP_USE_PRET: 'FTP_USE_PRET';
Use PRET.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_FTP_USE_PRET.html](https://curl.haxx.se/libcurl/c/CURLOPT_FTP_USE_PRET.html)
property FTPPORT
readonly FTPPORT: 'FTPPORT';
Use active FTP.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_FTPPORT.html](https://curl.haxx.se/libcurl/c/CURLOPT_FTPPORT.html)
property FTPSSLAUTH
readonly FTPSSLAUTH: 'FTPSSLAUTH';
Control how to do TLS.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_FTPSSLAUTH.html](https://curl.haxx.se/libcurl/c/CURLOPT_FTPSSLAUTH.html)
property GSSAPI_DELEGATION
readonly GSSAPI_DELEGATION: 'GSSAPI_DELEGATION';
Disable GSS-API delegation.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_GSSAPI_DELEGATION.html](https://curl.haxx.se/libcurl/c/CURLOPT_GSSAPI_DELEGATION.html)
property HAPPY_EYEBALLS_TIMEOUT_MS
readonly HAPPY_EYEBALLS_TIMEOUT_MS: 'HAPPY_EYEBALLS_TIMEOUT_MS';
Timeout for happy eyeballs.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_HAPPY_EYEBALLS_TIMEOUT_MS.html](https://curl.haxx.se/libcurl/c/CURLOPT_HAPPY_EYEBALLS_TIMEOUT_MS.html)
property HAPROXYPROTOCOL
readonly HAPROXYPROTOCOL: 'HAPROXYPROTOCOL';
Send an HAProxy PROXY protocol v1 header.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_HAPROXYPROTOCOL.html](https://curl.haxx.se/libcurl/c/CURLOPT_HAPROXYPROTOCOL.html)
property HEADER
readonly HEADER: 'HEADER';
Include the header in the body output.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_HEADER.html](https://curl.haxx.se/libcurl/c/CURLOPT_HEADER.html)
property HEADERFUNCTION
readonly HEADERFUNCTION: 'HEADERFUNCTION';
Callback for writing received headers.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_HEADERFUNCTION.html](https://curl.haxx.se/libcurl/c/CURLOPT_HEADERFUNCTION.html)
property HEADEROPT
readonly HEADEROPT: 'HEADEROPT';
Control custom headers.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_HEADEROPT.html](https://curl.haxx.se/libcurl/c/CURLOPT_HEADEROPT.html)
property HSTS
readonly HSTS: 'HSTS';
Set HSTS cache file.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_HSTS.html](https://curl.haxx.se/libcurl/c/CURLOPT_HSTS.html)
property HSTS_CTRL
readonly HSTS_CTRL: 'HSTS_CTRL';
Enable HSTS.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_HSTS_CTRL.html](https://curl.haxx.se/libcurl/c/CURLOPT_HSTS_CTRL.html)
property HSTSREADFUNCTION
readonly HSTSREADFUNCTION: 'HSTSREADFUNCTION';
Set HSTS read callback.
You can either return a single
CurlHstsReadCallbackResult
object or an array ofCurlHstsReadCallbackResult
objects. If returning an array, the callback will only be called once per request. If returning a single object, the callback will be called multiple times untilnull
is returned.Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_HSTSREADFUNCTION.html](https://curl.haxx.se/libcurl/c/CURLOPT_HSTSREADFUNCTION.html)
property HSTSWRITEFUNCTION
readonly HSTSWRITEFUNCTION: 'HSTSWRITEFUNCTION';
Set HSTS write callback.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_HSTSWRITEFUNCTION.html](https://curl.haxx.se/libcurl/c/CURLOPT_HSTSWRITEFUNCTION.html)
property HTTP_CONTENT_DECODING
readonly HTTP_CONTENT_DECODING: 'HTTP_CONTENT_DECODING';
Disable Content decoding.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_HTTP_CONTENT_DECODING.html](https://curl.haxx.se/libcurl/c/CURLOPT_HTTP_CONTENT_DECODING.html)
property HTTP_TRANSFER_DECODING
readonly HTTP_TRANSFER_DECODING: 'HTTP_TRANSFER_DECODING';
Disable Transfer decoding.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_HTTP_TRANSFER_DECODING.html](https://curl.haxx.se/libcurl/c/CURLOPT_HTTP_TRANSFER_DECODING.html)
property HTTP_VERSION
readonly HTTP_VERSION: 'HTTP_VERSION';
HTTP version to use.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_HTTP_VERSION.html](https://curl.haxx.se/libcurl/c/CURLOPT_HTTP_VERSION.html)
property HTTP09_ALLOWED
readonly HTTP09_ALLOWED: 'HTTP09_ALLOWED';
Allow HTTP/0.9 responses.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_HTTP09_ALLOWED.html](https://curl.haxx.se/libcurl/c/CURLOPT_HTTP09_ALLOWED.html)
property HTTP200ALIASES
readonly HTTP200ALIASES: 'HTTP200ALIASES';
Alternative versions of 200 OK.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_HTTP200ALIASES.html](https://curl.haxx.se/libcurl/c/CURLOPT_HTTP200ALIASES.html)
property HTTPAUTH
readonly HTTPAUTH: 'HTTPAUTH';
HTTP server authentication methods.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_HTTPAUTH.html](https://curl.haxx.se/libcurl/c/CURLOPT_HTTPAUTH.html)
property HTTPGET
readonly HTTPGET: 'HTTPGET';
Do an HTTP GET request.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_HTTPGET.html](https://curl.haxx.se/libcurl/c/CURLOPT_HTTPGET.html)
property HTTPHEADER
readonly HTTPHEADER: 'HTTPHEADER';
Custom HTTP headers.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_HTTPHEADER.html](https://curl.haxx.se/libcurl/c/CURLOPT_HTTPHEADER.html)
property HTTPPOST
readonly HTTPPOST: 'HTTPPOST';
Deprecated option Multipart formpost HTTP POST.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_HTTPPOST.html](https://curl.haxx.se/libcurl/c/CURLOPT_HTTPPOST.html)
property HTTPPROXYTUNNEL
readonly HTTPPROXYTUNNEL: 'HTTPPROXYTUNNEL';
Tunnel through the HTTP proxy.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_HTTPPROXYTUNNEL.html](https://curl.haxx.se/libcurl/c/CURLOPT_HTTPPROXYTUNNEL.html)
property IGNORE_CONTENT_LENGTH
readonly IGNORE_CONTENT_LENGTH: 'IGNORE_CONTENT_LENGTH';
Ignore Content-Length.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_IGNORE_CONTENT_LENGTH.html](https://curl.haxx.se/libcurl/c/CURLOPT_IGNORE_CONTENT_LENGTH.html)
property INFILESIZE
readonly INFILESIZE: 'INFILESIZE';
Size of file to send.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_INFILESIZE.html](https://curl.haxx.se/libcurl/c/CURLOPT_INFILESIZE.html)
property INFILESIZE_LARGE
readonly INFILESIZE_LARGE: 'INFILESIZE_LARGE';
Size of file to send.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_INFILESIZE_LARGE.html](https://curl.haxx.se/libcurl/c/CURLOPT_INFILESIZE_LARGE.html)
property INTERFACE
readonly INTERFACE: 'INTERFACE';
Bind connection locally to this.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_INTERFACE.html](https://curl.haxx.se/libcurl/c/CURLOPT_INTERFACE.html)
property IPRESOLVE
readonly IPRESOLVE: 'IPRESOLVE';
IP version to use.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_IPRESOLVE.html](https://curl.haxx.se/libcurl/c/CURLOPT_IPRESOLVE.html)
property ISSUERCERT
readonly ISSUERCERT: 'ISSUERCERT';
Issuer certificate.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_ISSUERCERT.html](https://curl.haxx.se/libcurl/c/CURLOPT_ISSUERCERT.html)
property ISSUERCERT_BLOB
readonly ISSUERCERT_BLOB: 'ISSUERCERT_BLOB';
Issuer certificate memory buffer.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_ISSUERCERT_BLOB.html](https://curl.haxx.se/libcurl/c/CURLOPT_ISSUERCERT_BLOB.html)
property KEEP_SENDING_ON_ERROR
readonly KEEP_SENDING_ON_ERROR: 'KEEP_SENDING_ON_ERROR';
Keep sending on HTTP >= 300 errors.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_KEEP_SENDING_ON_ERROR.html](https://curl.haxx.se/libcurl/c/CURLOPT_KEEP_SENDING_ON_ERROR.html)
property KEYPASSWD
readonly KEYPASSWD: 'KEYPASSWD';
Client key password.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_KEYPASSWD.html](https://curl.haxx.se/libcurl/c/CURLOPT_KEYPASSWD.html)
property KRBLEVEL
readonly KRBLEVEL: 'KRBLEVEL';
Kerberos security level.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_KRBLEVEL.html](https://curl.haxx.se/libcurl/c/CURLOPT_KRBLEVEL.html)
property LOCALPORT
readonly LOCALPORT: 'LOCALPORT';
Bind connection locally to this port.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_LOCALPORT.html](https://curl.haxx.se/libcurl/c/CURLOPT_LOCALPORT.html)
property LOCALPORTRANGE
readonly LOCALPORTRANGE: 'LOCALPORTRANGE';
Bind connection locally to port range.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_LOCALPORTRANGE.html](https://curl.haxx.se/libcurl/c/CURLOPT_LOCALPORTRANGE.html)
property LOGIN_OPTIONS
readonly LOGIN_OPTIONS: 'LOGIN_OPTIONS';
Login options.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_LOGIN_OPTIONS.html](https://curl.haxx.se/libcurl/c/CURLOPT_LOGIN_OPTIONS.html)
property LOW_SPEED_LIMIT
readonly LOW_SPEED_LIMIT: 'LOW_SPEED_LIMIT';
Low speed limit to abort transfer.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_LOW_SPEED_LIMIT.html](https://curl.haxx.se/libcurl/c/CURLOPT_LOW_SPEED_LIMIT.html)
property LOW_SPEED_TIME
readonly LOW_SPEED_TIME: 'LOW_SPEED_TIME';
Time to be below the speed to trigger low speed abort.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_LOW_SPEED_TIME.html](https://curl.haxx.se/libcurl/c/CURLOPT_LOW_SPEED_TIME.html)
property MAIL_AUTH
readonly MAIL_AUTH: 'MAIL_AUTH';
Authentication address.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_MAIL_AUTH.html](https://curl.haxx.se/libcurl/c/CURLOPT_MAIL_AUTH.html)
property MAIL_FROM
readonly MAIL_FROM: 'MAIL_FROM';
Address of the sender.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_MAIL_FROM.html](https://curl.haxx.se/libcurl/c/CURLOPT_MAIL_FROM.html)
property MAIL_RCPT
readonly MAIL_RCPT: 'MAIL_RCPT';
Address of the recipients.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_MAIL_RCPT.html](https://curl.haxx.se/libcurl/c/CURLOPT_MAIL_RCPT.html)
property MAIL_RCPT_ALLLOWFAILS
readonly MAIL_RCPT_ALLLOWFAILS: 'MAIL_RCPT_ALLLOWFAILS';
Allow RCPT TO command to fail for some recipients.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_MAIL_RCPT_ALLLOWFAILS.html](https://curl.haxx.se/libcurl/c/CURLOPT_MAIL_RCPT_ALLLOWFAILS.html)
property MAX_RECV_SPEED_LARGE
readonly MAX_RECV_SPEED_LARGE: 'MAX_RECV_SPEED_LARGE';
Cap the download speed to this.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_MAX_RECV_SPEED_LARGE.html](https://curl.haxx.se/libcurl/c/CURLOPT_MAX_RECV_SPEED_LARGE.html)
property MAX_SEND_SPEED_LARGE
readonly MAX_SEND_SPEED_LARGE: 'MAX_SEND_SPEED_LARGE';
Cap the upload speed to this.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_MAX_SEND_SPEED_LARGE.html](https://curl.haxx.se/libcurl/c/CURLOPT_MAX_SEND_SPEED_LARGE.html)
property MAXAGE_CONN
readonly MAXAGE_CONN: 'MAXAGE_CONN';
Limit the age (idle time) of connections for reuse.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_MAXAGE_CONN.html](https://curl.haxx.se/libcurl/c/CURLOPT_MAXAGE_CONN.html)
property MAXCONNECTS
readonly MAXCONNECTS: 'MAXCONNECTS';
Maximum number of connections in the connection pool.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_MAXCONNECTS.html](https://curl.haxx.se/libcurl/c/CURLOPT_MAXCONNECTS.html)
property MAXFILESIZE
readonly MAXFILESIZE: 'MAXFILESIZE';
Maximum file size to get.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_MAXFILESIZE.html](https://curl.haxx.se/libcurl/c/CURLOPT_MAXFILESIZE.html)
property MAXFILESIZE_LARGE
readonly MAXFILESIZE_LARGE: 'MAXFILESIZE_LARGE';
Maximum file size to get.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_MAXFILESIZE_LARGE.html](https://curl.haxx.se/libcurl/c/CURLOPT_MAXFILESIZE_LARGE.html)
property MAXLIFETIME_CONN
readonly MAXLIFETIME_CONN: 'MAXLIFETIME_CONN';
Limit the age (since creation) of connections for reuse.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_MAXLIFETIME_CONN.html](https://curl.haxx.se/libcurl/c/CURLOPT_MAXLIFETIME_CONN.html)
property MAXREDIRS
readonly MAXREDIRS: 'MAXREDIRS';
Maximum number of redirects to follow.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_MAXREDIRS.html](https://curl.haxx.se/libcurl/c/CURLOPT_MAXREDIRS.html)
property NETRC
readonly NETRC: 'NETRC';
Enable .netrc parsing.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_NETRC.html](https://curl.haxx.se/libcurl/c/CURLOPT_NETRC.html)
property NETRC_FILE
readonly NETRC_FILE: 'NETRC_FILE';
.netrc file name.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_NETRC_FILE.html](https://curl.haxx.se/libcurl/c/CURLOPT_NETRC_FILE.html)
property NEW_DIRECTORY_PERMS
readonly NEW_DIRECTORY_PERMS: 'NEW_DIRECTORY_PERMS';
Mode for creating new remote directories.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_NEW_DIRECTORY_PERMS.html](https://curl.haxx.se/libcurl/c/CURLOPT_NEW_DIRECTORY_PERMS.html)
property NEW_FILE_PERMS
readonly NEW_FILE_PERMS: 'NEW_FILE_PERMS';
Mode for creating new remote files.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_NEW_FILE_PERMS.html](https://curl.haxx.se/libcurl/c/CURLOPT_NEW_FILE_PERMS.html)
property NOBODY
readonly NOBODY: 'NOBODY';
Do not get the body contents.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_NOBODY.html](https://curl.haxx.se/libcurl/c/CURLOPT_NOBODY.html)
property NOPROGRESS
readonly NOPROGRESS: 'NOPROGRESS';
Shut off the progress meter.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_NOPROGRESS.html](https://curl.haxx.se/libcurl/c/CURLOPT_NOPROGRESS.html)
property NOPROXY
readonly NOPROXY: 'NOPROXY';
Filter out hosts from proxy use.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_NOPROXY.html](https://curl.haxx.se/libcurl/c/CURLOPT_NOPROXY.html)
property NOSIGNAL
readonly NOSIGNAL: 'NOSIGNAL';
Do not install signal handlers.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_NOSIGNAL.html](https://curl.haxx.se/libcurl/c/CURLOPT_NOSIGNAL.html)
property PASSWORD
readonly PASSWORD: 'PASSWORD';
Password.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_PASSWORD.html](https://curl.haxx.se/libcurl/c/CURLOPT_PASSWORD.html)
property PATH_AS_IS
readonly PATH_AS_IS: 'PATH_AS_IS';
Disable squashing /../ and /./ sequences in the path.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_PATH_AS_IS.html](https://curl.haxx.se/libcurl/c/CURLOPT_PATH_AS_IS.html)
property PINNEDPUBLICKEY
readonly PINNEDPUBLICKEY: 'PINNEDPUBLICKEY';
Set pinned SSL public key .
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_PINNEDPUBLICKEY.html](https://curl.haxx.se/libcurl/c/CURLOPT_PINNEDPUBLICKEY.html)
property PIPEWAIT
readonly PIPEWAIT: 'PIPEWAIT';
Wait on connection to pipeline on it.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_PIPEWAIT.html](https://curl.haxx.se/libcurl/c/CURLOPT_PIPEWAIT.html)
property PORT
readonly PORT: 'PORT';
Port number to connect to.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_PORT.html](https://curl.haxx.se/libcurl/c/CURLOPT_PORT.html)
property POST
readonly POST: 'POST';
Issue an HTTP POST request.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_POST.html](https://curl.haxx.se/libcurl/c/CURLOPT_POST.html)
property POSTFIELDS
readonly POSTFIELDS: 'POSTFIELDS';
Send a POST with this data.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_POSTFIELDS.html](https://curl.haxx.se/libcurl/c/CURLOPT_POSTFIELDS.html)
property POSTFIELDSIZE
readonly POSTFIELDSIZE: 'POSTFIELDSIZE';
The POST data is this big.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_POSTFIELDSIZE.html](https://curl.haxx.se/libcurl/c/CURLOPT_POSTFIELDSIZE.html)
property POSTFIELDSIZE_LARGE
readonly POSTFIELDSIZE_LARGE: 'POSTFIELDSIZE_LARGE';
The POST data is this big.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_POSTFIELDSIZE_LARGE.html](https://curl.haxx.se/libcurl/c/CURLOPT_POSTFIELDSIZE_LARGE.html)
property POSTQUOTE
readonly POSTQUOTE: 'POSTQUOTE';
Commands to run after transfer.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_POSTQUOTE.html](https://curl.haxx.se/libcurl/c/CURLOPT_POSTQUOTE.html)
property POSTREDIR
readonly POSTREDIR: 'POSTREDIR';
How to act on redirects after POST.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_POSTREDIR.html](https://curl.haxx.se/libcurl/c/CURLOPT_POSTREDIR.html)
property PRE_PROXY
readonly PRE_PROXY: 'PRE_PROXY';
Socks proxy to use.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_PRE_PROXY.html](https://curl.haxx.se/libcurl/c/CURLOPT_PRE_PROXY.html)
property PREQUOTE
readonly PREQUOTE: 'PREQUOTE';
Commands to run just before transfer.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_PREQUOTE.html](https://curl.haxx.se/libcurl/c/CURLOPT_PREQUOTE.html)
property PREREQFUNCTION
readonly PREREQFUNCTION: 'PREREQFUNCTION';
Callback to be called after a connection is established but before a request is made on that connection.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_PREREQFUNCTION.html](https://curl.haxx.se/libcurl/c/CURLOPT_PREREQFUNCTION.html)
property PROGRESSFUNCTION
readonly PROGRESSFUNCTION: 'PROGRESSFUNCTION';
OBSOLETE callback for progress meter.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_PROGRESSFUNCTION.html](https://curl.haxx.se/libcurl/c/CURLOPT_PROGRESSFUNCTION.html)
property PROTOCOLS
readonly PROTOCOLS: 'PROTOCOLS';
Deprecated option Allowed protocols.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_PROTOCOLS.html](https://curl.haxx.se/libcurl/c/CURLOPT_PROTOCOLS.html)
property PROTOCOLS_STR
readonly PROTOCOLS_STR: 'PROTOCOLS_STR';
Allowed protocols.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_PROTOCOLS_STR.html](https://curl.haxx.se/libcurl/c/CURLOPT_PROTOCOLS_STR.html)
property PROXY
readonly PROXY: 'PROXY';
Proxy to use.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_PROXY.html](https://curl.haxx.se/libcurl/c/CURLOPT_PROXY.html)
property PROXY_CAINFO
readonly PROXY_CAINFO: 'PROXY_CAINFO';
Proxy CA cert bundle.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_CAINFO.html](https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_CAINFO.html)
property PROXY_CAINFO_BLOB
readonly PROXY_CAINFO_BLOB: 'PROXY_CAINFO_BLOB';
Proxy CA cert bundle memory buffer.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_CAINFO_BLOB.html](https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_CAINFO_BLOB.html)
property PROXY_CAPATH
readonly PROXY_CAPATH: 'PROXY_CAPATH';
Path to proxy CA cert bundle.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_CAPATH.html](https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_CAPATH.html)
property PROXY_CRLFILE
readonly PROXY_CRLFILE: 'PROXY_CRLFILE';
Proxy Certificate Revocation List.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_CRLFILE.html](https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_CRLFILE.html)
property PROXY_ISSUERCERT
readonly PROXY_ISSUERCERT: 'PROXY_ISSUERCERT';
Proxy issuer certificate.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_ISSUERCERT.html](https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_ISSUERCERT.html)
property PROXY_ISSUERCERT_BLOB
readonly PROXY_ISSUERCERT_BLOB: 'PROXY_ISSUERCERT_BLOB';
Proxy issuer certificate memory buffer.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_ISSUERCERT_BLOB.html](https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_ISSUERCERT_BLOB.html)
property PROXY_KEYPASSWD
readonly PROXY_KEYPASSWD: 'PROXY_KEYPASSWD';
Proxy client key password.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_KEYPASSWD.html](https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_KEYPASSWD.html)
property PROXY_PINNEDPUBLICKEY
readonly PROXY_PINNEDPUBLICKEY: 'PROXY_PINNEDPUBLICKEY';
Set the proxy's pinned SSL public key.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_PINNEDPUBLICKEY.html](https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_PINNEDPUBLICKEY.html)
property PROXY_SERVICE_NAME
readonly PROXY_SERVICE_NAME: 'PROXY_SERVICE_NAME';
Proxy authentication service name.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_SERVICE_NAME.html](https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_SERVICE_NAME.html)
property PROXY_SSL_CIPHER_LIST
readonly PROXY_SSL_CIPHER_LIST: 'PROXY_SSL_CIPHER_LIST';
Proxy ciphers to use.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_SSL_CIPHER_LIST.html](https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_SSL_CIPHER_LIST.html)
property PROXY_SSL_OPTIONS
readonly PROXY_SSL_OPTIONS: 'PROXY_SSL_OPTIONS';
Control proxy SSL behavior.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_SSL_OPTIONS.html](https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_SSL_OPTIONS.html)
property PROXY_SSL_VERIFYHOST
readonly PROXY_SSL_VERIFYHOST: 'PROXY_SSL_VERIFYHOST';
Verify the host name in the proxy SSL certificate.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_SSL_VERIFYHOST.html](https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_SSL_VERIFYHOST.html)
property PROXY_SSL_VERIFYPEER
readonly PROXY_SSL_VERIFYPEER: 'PROXY_SSL_VERIFYPEER';
Verify the proxy SSL certificate.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_SSL_VERIFYPEER.html](https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_SSL_VERIFYPEER.html)
property PROXY_SSLCERT
readonly PROXY_SSLCERT: 'PROXY_SSLCERT';
Proxy client cert.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_SSLCERT.html](https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_SSLCERT.html)
property PROXY_SSLCERT_BLOB
readonly PROXY_SSLCERT_BLOB: 'PROXY_SSLCERT_BLOB';
Proxy client cert memory buffer.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_SSLCERT_BLOB.html](https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_SSLCERT_BLOB.html)
property PROXY_SSLCERTTYPE
readonly PROXY_SSLCERTTYPE: 'PROXY_SSLCERTTYPE';
Proxy client cert type.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_SSLCERTTYPE.html](https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_SSLCERTTYPE.html)
property PROXY_SSLKEY
readonly PROXY_SSLKEY: 'PROXY_SSLKEY';
Proxy client key.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_SSLKEY.html](https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_SSLKEY.html)
property PROXY_SSLKEY_BLOB
readonly PROXY_SSLKEY_BLOB: 'PROXY_SSLKEY_BLOB';
Proxy client key.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_SSLKEY_BLOB.html](https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_SSLKEY_BLOB.html)
property PROXY_SSLKEYTYPE
readonly PROXY_SSLKEYTYPE: 'PROXY_SSLKEYTYPE';
Proxy client key type.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_SSLKEYTYPE.html](https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_SSLKEYTYPE.html)
property PROXY_SSLVERSION
readonly PROXY_SSLVERSION: 'PROXY_SSLVERSION';
Proxy SSL version to use.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_SSLVERSION.html](https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_SSLVERSION.html)
property PROXY_TLS13_CIPHERS
readonly PROXY_TLS13_CIPHERS: 'PROXY_TLS13_CIPHERS';
Proxy TLS 1.3 cipher suites to use.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_TLS13_CIPHERS.html](https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_TLS13_CIPHERS.html)
property PROXY_TLSAUTH_PASSWORD
readonly PROXY_TLSAUTH_PASSWORD: 'PROXY_TLSAUTH_PASSWORD';
Proxy TLS authentication password.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_TLSAUTH_PASSWORD.html](https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_TLSAUTH_PASSWORD.html)
property PROXY_TLSAUTH_TYPE
readonly PROXY_TLSAUTH_TYPE: 'PROXY_TLSAUTH_TYPE';
Proxy TLS authentication methods.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_TLSAUTH_TYPE.html](https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_TLSAUTH_TYPE.html)
property PROXY_TLSAUTH_USERNAME
readonly PROXY_TLSAUTH_USERNAME: 'PROXY_TLSAUTH_USERNAME';
Proxy TLS authentication user name.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_TLSAUTH_USERNAME.html](https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_TLSAUTH_USERNAME.html)
property PROXY_TRANSFER_MODE
readonly PROXY_TRANSFER_MODE: 'PROXY_TRANSFER_MODE';
Add transfer mode to URL over proxy.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_TRANSFER_MODE.html](https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_TRANSFER_MODE.html)
property PROXYAUTH
readonly PROXYAUTH: 'PROXYAUTH';
HTTP proxy authentication methods.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_PROXYAUTH.html](https://curl.haxx.se/libcurl/c/CURLOPT_PROXYAUTH.html)
property PROXYHEADER
readonly PROXYHEADER: 'PROXYHEADER';
Custom HTTP headers sent to proxy.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_PROXYHEADER.html](https://curl.haxx.se/libcurl/c/CURLOPT_PROXYHEADER.html)
property PROXYPASSWORD
readonly PROXYPASSWORD: 'PROXYPASSWORD';
Proxy password.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_PROXYPASSWORD.html](https://curl.haxx.se/libcurl/c/CURLOPT_PROXYPASSWORD.html)
property PROXYPORT
readonly PROXYPORT: 'PROXYPORT';
Proxy port to use.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_PROXYPORT.html](https://curl.haxx.se/libcurl/c/CURLOPT_PROXYPORT.html)
property PROXYTYPE
readonly PROXYTYPE: 'PROXYTYPE';
Proxy type.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_PROXYTYPE.html](https://curl.haxx.se/libcurl/c/CURLOPT_PROXYTYPE.html)
property PROXYUSERNAME
readonly PROXYUSERNAME: 'PROXYUSERNAME';
Proxy user name.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_PROXYUSERNAME.html](https://curl.haxx.se/libcurl/c/CURLOPT_PROXYUSERNAME.html)
property PROXYUSERPWD
readonly PROXYUSERPWD: 'PROXYUSERPWD';
Proxy user name and password.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_PROXYUSERPWD.html](https://curl.haxx.se/libcurl/c/CURLOPT_PROXYUSERPWD.html)
property PUT
readonly PUT: 'PUT';
Deprecated option Issue an HTTP PUT request.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_PUT.html](https://curl.haxx.se/libcurl/c/CURLOPT_PUT.html)
property QUOTE
readonly QUOTE: 'QUOTE';
Commands to run before transfer.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_QUOTE.html](https://curl.haxx.se/libcurl/c/CURLOPT_QUOTE.html)
property RANDOM_FILE
readonly RANDOM_FILE: 'RANDOM_FILE';
OBSOLETE Provide source for entropy random data.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_RANDOM_FILE.html](https://curl.haxx.se/libcurl/c/CURLOPT_RANDOM_FILE.html)
property RANGE
readonly RANGE: 'RANGE';
Range requests.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_RANGE.html](https://curl.haxx.se/libcurl/c/CURLOPT_RANGE.html)
property READDATA
readonly READDATA: 'READDATA';
Data pointer to pass to the read callback.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_READDATA.html](https://curl.haxx.se/libcurl/c/CURLOPT_READDATA.html)
property READFUNCTION
readonly READFUNCTION: 'READFUNCTION';
Callback for reading data.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_READFUNCTION.html](https://curl.haxx.se/libcurl/c/CURLOPT_READFUNCTION.html)
property REDIR_PROTOCOLS
readonly REDIR_PROTOCOLS: 'REDIR_PROTOCOLS';
Deprecated option Protocols to allow redirects to.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_REDIR_PROTOCOLS.html](https://curl.haxx.se/libcurl/c/CURLOPT_REDIR_PROTOCOLS.html)
property REDIR_PROTOCOLS_STR
readonly REDIR_PROTOCOLS_STR: 'REDIR_PROTOCOLS_STR';
Protocols to allow redirects to.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_REDIR_PROTOCOLS_STR.html](https://curl.haxx.se/libcurl/c/CURLOPT_REDIR_PROTOCOLS_STR.html)
property REFERER
readonly REFERER: 'REFERER';
Referer: header.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_REFERER.html](https://curl.haxx.se/libcurl/c/CURLOPT_REFERER.html)
property REQUEST_TARGET
readonly REQUEST_TARGET: 'REQUEST_TARGET';
Set the request target.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_REQUEST_TARGET.html](https://curl.haxx.se/libcurl/c/CURLOPT_REQUEST_TARGET.html)
property RESOLVE
readonly RESOLVE: 'RESOLVE';
Provide fixed/fake name resolves.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_RESOLVE.html](https://curl.haxx.se/libcurl/c/CURLOPT_RESOLVE.html)
property RESUME_FROM
readonly RESUME_FROM: 'RESUME_FROM';
Resume a transfer.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_RESUME_FROM.html](https://curl.haxx.se/libcurl/c/CURLOPT_RESUME_FROM.html)
property RESUME_FROM_LARGE
readonly RESUME_FROM_LARGE: 'RESUME_FROM_LARGE';
Resume a transfer.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_RESUME_FROM_LARGE.html](https://curl.haxx.se/libcurl/c/CURLOPT_RESUME_FROM_LARGE.html)
property RTSP_CLIENT_CSEQ
readonly RTSP_CLIENT_CSEQ: 'RTSP_CLIENT_CSEQ';
Client CSEQ number.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_RTSP_CLIENT_CSEQ.html](https://curl.haxx.se/libcurl/c/CURLOPT_RTSP_CLIENT_CSEQ.html)
property RTSP_REQUEST
readonly RTSP_REQUEST: 'RTSP_REQUEST';
RTSP request.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_RTSP_REQUEST.html](https://curl.haxx.se/libcurl/c/CURLOPT_RTSP_REQUEST.html)
property RTSP_SERVER_CSEQ
readonly RTSP_SERVER_CSEQ: 'RTSP_SERVER_CSEQ';
CSEQ number for RTSP Server->Client request.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_RTSP_SERVER_CSEQ.html](https://curl.haxx.se/libcurl/c/CURLOPT_RTSP_SERVER_CSEQ.html)
property RTSP_SESSION_ID
readonly RTSP_SESSION_ID: 'RTSP_SESSION_ID';
RTSP session-id.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_RTSP_SESSION_ID.html](https://curl.haxx.se/libcurl/c/CURLOPT_RTSP_SESSION_ID.html)
property RTSP_STREAM_URI
readonly RTSP_STREAM_URI: 'RTSP_STREAM_URI';
RTSP stream URI.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_RTSP_STREAM_URI.html](https://curl.haxx.se/libcurl/c/CURLOPT_RTSP_STREAM_URI.html)
property RTSP_TRANSPORT
readonly RTSP_TRANSPORT: 'RTSP_TRANSPORT';
RTSP Transport: header.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_RTSP_TRANSPORT.html](https://curl.haxx.se/libcurl/c/CURLOPT_RTSP_TRANSPORT.html)
property SASL_AUTHZID
readonly SASL_AUTHZID: 'SASL_AUTHZID';
SASL authorization identity (identity to act as).
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_SASL_AUTHZID.html](https://curl.haxx.se/libcurl/c/CURLOPT_SASL_AUTHZID.html)
property SASL_IR
readonly SASL_IR: 'SASL_IR';
Enable SASL initial response.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_SASL_IR.html](https://curl.haxx.se/libcurl/c/CURLOPT_SASL_IR.html)
property SEEKFUNCTION
readonly SEEKFUNCTION: 'SEEKFUNCTION';
Callback for seek operations.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_SEEKFUNCTION.html](https://curl.haxx.se/libcurl/c/CURLOPT_SEEKFUNCTION.html)
property SERVER_RESPONSE_TIMEOUT
readonly SERVER_RESPONSE_TIMEOUT: 'SERVER_RESPONSE_TIMEOUT';
Timeout for server responses.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_SERVER_RESPONSE_TIMEOUT.html](https://curl.haxx.se/libcurl/c/CURLOPT_SERVER_RESPONSE_TIMEOUT.html)
property SERVICE_NAME
readonly SERVICE_NAME: 'SERVICE_NAME';
Authentication service name.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_SERVICE_NAME.html](https://curl.haxx.se/libcurl/c/CURLOPT_SERVICE_NAME.html)
property SHARE
readonly SHARE: 'SHARE';
Share object to use.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_SHARE.html](https://curl.haxx.se/libcurl/c/CURLOPT_SHARE.html)
property SOCKS5_AUTH
readonly SOCKS5_AUTH: 'SOCKS5_AUTH';
Socks5 authentication methods.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_SOCKS5_AUTH.html](https://curl.haxx.se/libcurl/c/CURLOPT_SOCKS5_AUTH.html)
property SOCKS5_GSSAPI_NEC
readonly SOCKS5_GSSAPI_NEC: 'SOCKS5_GSSAPI_NEC';
Socks5 GSSAPI NEC mode.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_SOCKS5_GSSAPI_NEC.html](https://curl.haxx.se/libcurl/c/CURLOPT_SOCKS5_GSSAPI_NEC.html)
property SOCKS5_GSSAPI_SERVICE
readonly SOCKS5_GSSAPI_SERVICE: 'SOCKS5_GSSAPI_SERVICE';
Deprecated option Socks5 GSSAPI service name.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_SOCKS5_GSSAPI_SERVICE.html](https://curl.haxx.se/libcurl/c/CURLOPT_SOCKS5_GSSAPI_SERVICE.html)
property SSH_AUTH_TYPES
readonly SSH_AUTH_TYPES: 'SSH_AUTH_TYPES';
SSH authentication types.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_SSH_AUTH_TYPES.html](https://curl.haxx.se/libcurl/c/CURLOPT_SSH_AUTH_TYPES.html)
property SSH_COMPRESSION
readonly SSH_COMPRESSION: 'SSH_COMPRESSION';
Enable SSH compression.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_SSH_COMPRESSION.html](https://curl.haxx.se/libcurl/c/CURLOPT_SSH_COMPRESSION.html)
property SSH_HOST_PUBLIC_KEY_MD5
readonly SSH_HOST_PUBLIC_KEY_MD5: 'SSH_HOST_PUBLIC_KEY_MD5';
MD5 of host's public key.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_SSH_HOST_PUBLIC_KEY_MD5.html](https://curl.haxx.se/libcurl/c/CURLOPT_SSH_HOST_PUBLIC_KEY_MD5.html)
property SSH_HOSTKEYDATA
readonly SSH_HOSTKEYDATA: 'SSH_HOSTKEYDATA';
Custom pointer to pass to ssh host key callback.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_SSH_HOSTKEYDATA.html](https://curl.haxx.se/libcurl/c/CURLOPT_SSH_HOSTKEYDATA.html)
property SSH_KNOWNHOSTS
readonly SSH_KNOWNHOSTS: 'SSH_KNOWNHOSTS';
File name with known hosts.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_SSH_KNOWNHOSTS.html](https://curl.haxx.se/libcurl/c/CURLOPT_SSH_KNOWNHOSTS.html)
property SSH_PRIVATE_KEYFILE
readonly SSH_PRIVATE_KEYFILE: 'SSH_PRIVATE_KEYFILE';
File name of private key.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_SSH_PRIVATE_KEYFILE.html](https://curl.haxx.se/libcurl/c/CURLOPT_SSH_PRIVATE_KEYFILE.html)
property SSH_PUBLIC_KEYFILE
readonly SSH_PUBLIC_KEYFILE: 'SSH_PUBLIC_KEYFILE';
File name of public key.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_SSH_PUBLIC_KEYFILE.html](https://curl.haxx.se/libcurl/c/CURLOPT_SSH_PUBLIC_KEYFILE.html)
property SSL_CIPHER_LIST
readonly SSL_CIPHER_LIST: 'SSL_CIPHER_LIST';
Ciphers to use.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_SSL_CIPHER_LIST.html](https://curl.haxx.se/libcurl/c/CURLOPT_SSL_CIPHER_LIST.html)
property SSL_EC_CURVES
readonly SSL_EC_CURVES: 'SSL_EC_CURVES';
Set key exchange curves.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_SSL_EC_CURVES.html](https://curl.haxx.se/libcurl/c/CURLOPT_SSL_EC_CURVES.html)
property SSL_ENABLE_ALPN
readonly SSL_ENABLE_ALPN: 'SSL_ENABLE_ALPN';
Enable use of ALPN.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_SSL_ENABLE_ALPN.html](https://curl.haxx.se/libcurl/c/CURLOPT_SSL_ENABLE_ALPN.html)
property SSL_ENABLE_NPN
readonly SSL_ENABLE_NPN: 'SSL_ENABLE_NPN';
OBSOLETE Enable use of NPN.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_SSL_ENABLE_NPN.html](https://curl.haxx.se/libcurl/c/CURLOPT_SSL_ENABLE_NPN.html)
property SSL_FALSESTART
readonly SSL_FALSESTART: 'SSL_FALSESTART';
Enable TLS False Start.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_SSL_FALSESTART.html](https://curl.haxx.se/libcurl/c/CURLOPT_SSL_FALSESTART.html)
property SSL_OPTIONS
readonly SSL_OPTIONS: 'SSL_OPTIONS';
Control SSL behavior.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_SSL_OPTIONS.html](https://curl.haxx.se/libcurl/c/CURLOPT_SSL_OPTIONS.html)
property SSL_SESSIONID_CACHE
readonly SSL_SESSIONID_CACHE: 'SSL_SESSIONID_CACHE';
Disable SSL session-id cache.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_SSL_SESSIONID_CACHE.html](https://curl.haxx.se/libcurl/c/CURLOPT_SSL_SESSIONID_CACHE.html)
property SSL_VERIFYHOST
readonly SSL_VERIFYHOST: 'SSL_VERIFYHOST';
Verify the host name in the SSL certificate.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_SSL_VERIFYHOST.html](https://curl.haxx.se/libcurl/c/CURLOPT_SSL_VERIFYHOST.html)
property SSL_VERIFYPEER
readonly SSL_VERIFYPEER: 'SSL_VERIFYPEER';
Verify the SSL certificate.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_SSL_VERIFYPEER.html](https://curl.haxx.se/libcurl/c/CURLOPT_SSL_VERIFYPEER.html)
property SSL_VERIFYSTATUS
readonly SSL_VERIFYSTATUS: 'SSL_VERIFYSTATUS';
Verify the SSL certificate's status.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_SSL_VERIFYSTATUS.html](https://curl.haxx.se/libcurl/c/CURLOPT_SSL_VERIFYSTATUS.html)
property SSLCERT
readonly SSLCERT: 'SSLCERT';
Client cert.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_SSLCERT.html](https://curl.haxx.se/libcurl/c/CURLOPT_SSLCERT.html)
property SSLCERT_BLOB
readonly SSLCERT_BLOB: 'SSLCERT_BLOB';
Client cert memory buffer.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_SSLCERT_BLOB.html](https://curl.haxx.se/libcurl/c/CURLOPT_SSLCERT_BLOB.html)
property SSLCERTTYPE
readonly SSLCERTTYPE: 'SSLCERTTYPE';
Client cert type.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_SSLCERTTYPE.html](https://curl.haxx.se/libcurl/c/CURLOPT_SSLCERTTYPE.html)
property SSLENGINE
readonly SSLENGINE: 'SSLENGINE';
Use identifier with SSL engine.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_SSLENGINE.html](https://curl.haxx.se/libcurl/c/CURLOPT_SSLENGINE.html)
property SSLENGINE_DEFAULT
readonly SSLENGINE_DEFAULT: 'SSLENGINE_DEFAULT';
Default SSL engine.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_SSLENGINE_DEFAULT.html](https://curl.haxx.se/libcurl/c/CURLOPT_SSLENGINE_DEFAULT.html)
property SSLKEY
readonly SSLKEY: 'SSLKEY';
Client key.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_SSLKEY.html](https://curl.haxx.se/libcurl/c/CURLOPT_SSLKEY.html)
property SSLKEY_BLOB
readonly SSLKEY_BLOB: 'SSLKEY_BLOB';
Client key memory buffer.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_SSLKEY_BLOB.html](https://curl.haxx.se/libcurl/c/CURLOPT_SSLKEY_BLOB.html)
property SSLKEYTYPE
readonly SSLKEYTYPE: 'SSLKEYTYPE';
Client key type.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_SSLKEYTYPE.html](https://curl.haxx.se/libcurl/c/CURLOPT_SSLKEYTYPE.html)
property SSLVERSION
readonly SSLVERSION: 'SSLVERSION';
SSL version to use.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_SSLVERSION.html](https://curl.haxx.se/libcurl/c/CURLOPT_SSLVERSION.html)
property SUPPRESS_CONNECT_HEADERS
readonly SUPPRESS_CONNECT_HEADERS: 'SUPPRESS_CONNECT_HEADERS';
Suppress proxy CONNECT response headers from user callbacks.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_SUPPRESS_CONNECT_HEADERS.html](https://curl.haxx.se/libcurl/c/CURLOPT_SUPPRESS_CONNECT_HEADERS.html)
property TCP_FASTOPEN
readonly TCP_FASTOPEN: 'TCP_FASTOPEN';
Enable TCP Fast Open.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_TCP_FASTOPEN.html](https://curl.haxx.se/libcurl/c/CURLOPT_TCP_FASTOPEN.html)
property TCP_KEEPALIVE
readonly TCP_KEEPALIVE: 'TCP_KEEPALIVE';
Enable TCP keep-alive.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_TCP_KEEPALIVE.html](https://curl.haxx.se/libcurl/c/CURLOPT_TCP_KEEPALIVE.html)
property TCP_KEEPIDLE
readonly TCP_KEEPIDLE: 'TCP_KEEPIDLE';
Idle time before sending keep-alive.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_TCP_KEEPIDLE.html](https://curl.haxx.se/libcurl/c/CURLOPT_TCP_KEEPIDLE.html)
property TCP_KEEPINTVL
readonly TCP_KEEPINTVL: 'TCP_KEEPINTVL';
Interval between keep-alive probes.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_TCP_KEEPINTVL.html](https://curl.haxx.se/libcurl/c/CURLOPT_TCP_KEEPINTVL.html)
property TCP_NODELAY
readonly TCP_NODELAY: 'TCP_NODELAY';
Disable the Nagle algorithm.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_TCP_NODELAY.html](https://curl.haxx.se/libcurl/c/CURLOPT_TCP_NODELAY.html)
property TELNETOPTIONS
readonly TELNETOPTIONS: 'TELNETOPTIONS';
TELNET options.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_TELNETOPTIONS.html](https://curl.haxx.se/libcurl/c/CURLOPT_TELNETOPTIONS.html)
property TFTP_BLKSIZE
readonly TFTP_BLKSIZE: 'TFTP_BLKSIZE';
TFTP block size.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_TFTP_BLKSIZE.html](https://curl.haxx.se/libcurl/c/CURLOPT_TFTP_BLKSIZE.html)
property TFTP_NO_OPTIONS
readonly TFTP_NO_OPTIONS: 'TFTP_NO_OPTIONS';
Do not send TFTP options requests.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_TFTP_NO_OPTIONS.html](https://curl.haxx.se/libcurl/c/CURLOPT_TFTP_NO_OPTIONS.html)
property TIMECONDITION
readonly TIMECONDITION: 'TIMECONDITION';
Make a time conditional request.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_TIMECONDITION.html](https://curl.haxx.se/libcurl/c/CURLOPT_TIMECONDITION.html)
property TIMEOUT
readonly TIMEOUT: 'TIMEOUT';
Timeout for the entire request.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_TIMEOUT.html](https://curl.haxx.se/libcurl/c/CURLOPT_TIMEOUT.html)
property TIMEOUT_MS
readonly TIMEOUT_MS: 'TIMEOUT_MS';
Millisecond timeout for the entire request.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_TIMEOUT_MS.html](https://curl.haxx.se/libcurl/c/CURLOPT_TIMEOUT_MS.html)
property TIMEVALUE
readonly TIMEVALUE: 'TIMEVALUE';
Time value for the time conditional request.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_TIMEVALUE.html](https://curl.haxx.se/libcurl/c/CURLOPT_TIMEVALUE.html)
property TIMEVALUE_LARGE
readonly TIMEVALUE_LARGE: 'TIMEVALUE_LARGE';
Time value for the time conditional request.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_TIMEVALUE_LARGE.html](https://curl.haxx.se/libcurl/c/CURLOPT_TIMEVALUE_LARGE.html)
property TLS13_CIPHERS
readonly TLS13_CIPHERS: 'TLS13_CIPHERS';
TLS 1.3 cipher suites to use.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_TLS13_CIPHERS.html](https://curl.haxx.se/libcurl/c/CURLOPT_TLS13_CIPHERS.html)
property TLSAUTH_PASSWORD
readonly TLSAUTH_PASSWORD: 'TLSAUTH_PASSWORD';
TLS authentication password.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_TLSAUTH_PASSWORD.html](https://curl.haxx.se/libcurl/c/CURLOPT_TLSAUTH_PASSWORD.html)
property TLSAUTH_TYPE
readonly TLSAUTH_TYPE: 'TLSAUTH_TYPE';
TLS authentication methods.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_TLSAUTH_TYPE.html](https://curl.haxx.se/libcurl/c/CURLOPT_TLSAUTH_TYPE.html)
property TLSAUTH_USERNAME
readonly TLSAUTH_USERNAME: 'TLSAUTH_USERNAME';
TLS authentication user name.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_TLSAUTH_USERNAME.html](https://curl.haxx.se/libcurl/c/CURLOPT_TLSAUTH_USERNAME.html)
property TRAILERFUNCTION
readonly TRAILERFUNCTION: 'TRAILERFUNCTION';
Set callback for sending trailing headers.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_TRAILERFUNCTION.html](https://curl.haxx.se/libcurl/c/CURLOPT_TRAILERFUNCTION.html)
property TRANSFER_ENCODING
readonly TRANSFER_ENCODING: 'TRANSFER_ENCODING';
Request Transfer-Encoding.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_TRANSFER_ENCODING.html](https://curl.haxx.se/libcurl/c/CURLOPT_TRANSFER_ENCODING.html)
property TRANSFERTEXT
readonly TRANSFERTEXT: 'TRANSFERTEXT';
Use text transfer.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_TRANSFERTEXT.html](https://curl.haxx.se/libcurl/c/CURLOPT_TRANSFERTEXT.html)
property UNIX_SOCKET_PATH
readonly UNIX_SOCKET_PATH: 'UNIX_SOCKET_PATH';
Path to a Unix domain socket.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_UNIX_SOCKET_PATH.html](https://curl.haxx.se/libcurl/c/CURLOPT_UNIX_SOCKET_PATH.html)
property UNRESTRICTED_AUTH
readonly UNRESTRICTED_AUTH: 'UNRESTRICTED_AUTH';
Do not restrict authentication to original host.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_UNRESTRICTED_AUTH.html](https://curl.haxx.se/libcurl/c/CURLOPT_UNRESTRICTED_AUTH.html)
property UPKEEP_INTERVAL_MS
readonly UPKEEP_INTERVAL_MS: 'UPKEEP_INTERVAL_MS';
Sets the interval at which connection upkeep are performed.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_UPKEEP_INTERVAL_MS.html](https://curl.haxx.se/libcurl/c/CURLOPT_UPKEEP_INTERVAL_MS.html)
property UPLOAD
readonly UPLOAD: 'UPLOAD';
Upload data.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_UPLOAD.html](https://curl.haxx.se/libcurl/c/CURLOPT_UPLOAD.html)
property UPLOAD_BUFFERSIZE
readonly UPLOAD_BUFFERSIZE: 'UPLOAD_BUFFERSIZE';
Set upload buffer size.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_UPLOAD_BUFFERSIZE.html](https://curl.haxx.se/libcurl/c/CURLOPT_UPLOAD_BUFFERSIZE.html)
property URL
readonly URL: 'URL';
URL to work on.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_URL.html](https://curl.haxx.se/libcurl/c/CURLOPT_URL.html)
property USE_SSL
readonly USE_SSL: 'USE_SSL';
Use TLS/SSL.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_USE_SSL.html](https://curl.haxx.se/libcurl/c/CURLOPT_USE_SSL.html)
property USERAGENT
readonly USERAGENT: 'USERAGENT';
User-Agent: header.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_USERAGENT.html](https://curl.haxx.se/libcurl/c/CURLOPT_USERAGENT.html)
property USERNAME
readonly USERNAME: 'USERNAME';
User name.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_USERNAME.html](https://curl.haxx.se/libcurl/c/CURLOPT_USERNAME.html)
property USERPWD
readonly USERPWD: 'USERPWD';
User name and password.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_USERPWD.html](https://curl.haxx.se/libcurl/c/CURLOPT_USERPWD.html)
property VERBOSE
readonly VERBOSE: 'VERBOSE';
Display verbose information.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_VERBOSE.html](https://curl.haxx.se/libcurl/c/CURLOPT_VERBOSE.html)
property WILDCARDMATCH
readonly WILDCARDMATCH: 'WILDCARDMATCH';
Transfer multiple files according to a file name pattern.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_WILDCARDMATCH.html](https://curl.haxx.se/libcurl/c/CURLOPT_WILDCARDMATCH.html)
property WRITEFUNCTION
readonly WRITEFUNCTION: 'WRITEFUNCTION';
Callback for writing data.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_WRITEFUNCTION.html](https://curl.haxx.se/libcurl/c/CURLOPT_WRITEFUNCTION.html)
property XFERINFOFUNCTION
readonly XFERINFOFUNCTION: 'XFERINFOFUNCTION';
Callback for progress meter.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_XFERINFOFUNCTION.html](https://curl.haxx.se/libcurl/c/CURLOPT_XFERINFOFUNCTION.html)
property XOAUTH2_BEARER
readonly XOAUTH2_BEARER: 'XOAUTH2_BEARER';
OAuth2 bearer token.
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_XOAUTH2_BEARER.html](https://curl.haxx.se/libcurl/c/CURLOPT_XOAUTH2_BEARER.html)
interface CurlyFunction
interface CurlyFunction extends HttpMethodCalls {}
property create
create: (defaultOptions?: CurlyOptions) => CurlyFunction;
**EXPERIMENTAL** This API can change between minor releases
This returns a new
curly
with the specified options set by default.
property defaultResponseBodyParsers
defaultResponseBodyParsers: CurlyResponseBodyParsersProperty;
These are the default response body parsers to be used.
By default there are parsers for the following:
- application/json - text/* - *
call signature
<ResultData = any>(url: string, options?: CurlyOptions): Promise< CurlyResult<ResultData>>;
**EXPERIMENTAL** This API can change between minor releases
Async wrapper around the Curl class.
It's also possible to request using a specific http verb directly by using
curl.<http-verb>(url: string, options?: CurlyOptions)
, like:curly.get('https://www.google.com')
interface CurlyResult
interface CurlyResult<ResultData = any> {}
Object the curly call resolves to.
Modifiers
@public
property data
data: ResultData;
Data will be the body of the requested URL
property headers
headers: HeaderInfo[];
Parsed headers
See HeaderInfo
property statusCode
statusCode: number;
HTTP Status code for the last request
interface Http2PushFrameHeaders
interface Http2PushFrameHeaders {}
This is the type of the argument passed to the first parameter of
Modifiers
@public
property numberOfHeaders
numberOfHeaders: number;
method getByIndex
getByIndex: (index: number) => string | null;
method getByName
getByName: (name: string) => string | null;
interface MultiOption
interface MultiOption {}
Modifiers
@public
property CHUNK_LENGTH_PENALTY_SIZE
readonly CHUNK_LENGTH_PENALTY_SIZE: 'CHUNK_LENGTH_PENALTY_SIZE';
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLMOPT_CHUNK_LENGTH_PENALTY_SIZE.html](https://curl.haxx.se/libcurl/c/CURLMOPT_CHUNK_LENGTH_PENALTY_SIZE.html)
property CONTENT_LENGTH_PENALTY_SIZE
readonly CONTENT_LENGTH_PENALTY_SIZE: 'CONTENT_LENGTH_PENALTY_SIZE';
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLMOPT_CONTENT_LENGTH_PENALTY_SIZE.html](https://curl.haxx.se/libcurl/c/CURLMOPT_CONTENT_LENGTH_PENALTY_SIZE.html)
property MAX_CONCURRENT_STREAMS
readonly MAX_CONCURRENT_STREAMS: 'MAX_CONCURRENT_STREAMS';
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLMOPT_MAX_CONCURRENT_STREAMS.html](https://curl.haxx.se/libcurl/c/CURLMOPT_MAX_CONCURRENT_STREAMS.html)
property MAX_HOST_CONNECTIONS
readonly MAX_HOST_CONNECTIONS: 'MAX_HOST_CONNECTIONS';
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLMOPT_MAX_HOST_CONNECTIONS.html](https://curl.haxx.se/libcurl/c/CURLMOPT_MAX_HOST_CONNECTIONS.html)
property MAX_PIPELINE_LENGTH
readonly MAX_PIPELINE_LENGTH: 'MAX_PIPELINE_LENGTH';
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLMOPT_MAX_PIPELINE_LENGTH.html](https://curl.haxx.se/libcurl/c/CURLMOPT_MAX_PIPELINE_LENGTH.html)
property MAX_TOTAL_CONNECTIONS
readonly MAX_TOTAL_CONNECTIONS: 'MAX_TOTAL_CONNECTIONS';
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLMOPT_MAX_TOTAL_CONNECTIONS.html](https://curl.haxx.se/libcurl/c/CURLMOPT_MAX_TOTAL_CONNECTIONS.html)
property MAXCONNECTS
readonly MAXCONNECTS: 'MAXCONNECTS';
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLMOPT_MAXCONNECTS.html](https://curl.haxx.se/libcurl/c/CURLMOPT_MAXCONNECTS.html)
property PIPELINING
readonly PIPELINING: 'PIPELINING';
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLMOPT_PIPELINING.html](https://curl.haxx.se/libcurl/c/CURLMOPT_PIPELINING.html)
property PIPELINING_SERVER_BL
readonly PIPELINING_SERVER_BL: 'PIPELINING_SERVER_BL';
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLMOPT_PIPELINING_SERVER_BL.html](https://curl.haxx.se/libcurl/c/CURLMOPT_PIPELINING_SERVER_BL.html)
property PIPELINING_SITE_BL
readonly PIPELINING_SITE_BL: 'PIPELINING_SITE_BL';
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLMOPT_PIPELINING_SITE_BL.html](https://curl.haxx.se/libcurl/c/CURLMOPT_PIPELINING_SITE_BL.html)
property PUSHDATA
readonly PUSHDATA: 'PUSHDATA';
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLMOPT_PUSHDATA.html](https://curl.haxx.se/libcurl/c/CURLMOPT_PUSHDATA.html)
property PUSHFUNCTION
readonly PUSHFUNCTION: 'PUSHFUNCTION';
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLMOPT_PUSHFUNCTION.html](https://curl.haxx.se/libcurl/c/CURLMOPT_PUSHFUNCTION.html)
property SOCKETDATA
readonly SOCKETDATA: 'SOCKETDATA';
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLMOPT_SOCKETDATA.html](https://curl.haxx.se/libcurl/c/CURLMOPT_SOCKETDATA.html)
property SOCKETFUNCTION
readonly SOCKETFUNCTION: 'SOCKETFUNCTION';
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLMOPT_SOCKETFUNCTION.html](https://curl.haxx.se/libcurl/c/CURLMOPT_SOCKETFUNCTION.html)
property TIMERDATA
readonly TIMERDATA: 'TIMERDATA';
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLMOPT_TIMERDATA.html](https://curl.haxx.se/libcurl/c/CURLMOPT_TIMERDATA.html)
property TIMERFUNCTION
readonly TIMERFUNCTION: 'TIMERFUNCTION';
Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLMOPT_TIMERFUNCTION.html](https://curl.haxx.se/libcurl/c/CURLMOPT_TIMERFUNCTION.html)
Enums
enum CurlAuth
enum CurlAuth { None = 0, Basic = 1, Digest = 2, Negotiate = 4, GssNegotiate = 4, GssApi = 4, Ntlm = 8, DigestIe = 16, NtlmWb = 32, Bearer = 64, AwsSigV4 = 128, Only = 2147483648, Any = -17, AnySafe = -18,}
Object with bitmasks that should be used with the
HTTPAUTH
andPROXYAUTH
options.CURLAUTH_BASIC
becomesCurlAuth.Basic
**NOTE:** The option
Only
(CURLAUTH_ONLY
) cannot be safely used on bitwise operations, because it represents a integer larger than 32 bits, if you need to use it, you must do the bitwise operation without using the operators.See following StackOverflow questions for more info: https://stackoverflow.com/q/39660274/710693 https://stackoverflow.com/q/3637702/710693
Modifiers
@public
member Any
Any = -17
member AnySafe
AnySafe = -18
member AwsSigV4
AwsSigV4 = 128
member Basic
Basic = 1
member Bearer
Bearer = 64
member Digest
Digest = 2
member DigestIe
DigestIe = 16
member GssApi
GssApi = 4
Used for option
SOCKS5_AUTH
to stay terminologically correct
member GssNegotiate
GssNegotiate = 4
Deprecated since the advent of Negotiate
member Negotiate
Negotiate = 4
member None
None = 0
member Ntlm
Ntlm = 8
member NtlmWb
NtlmWb = 32
member Only
Only = 2147483648
enum CurlChunk
enum CurlChunk { BgnFuncOk = 0, BgnFuncFail = 1, BgnFuncSkip = 2, EndFuncOk = 0, EndFuncFail = 1,}
Object to be used as the return value for the callbacks set with the options
CHUNK_BGN_FUNCTION
andCHUNK_END_FUNCTION
.CURL_CHUNK_BGN_FUNC_OK
becomesCurlChunk.BgnFuncOk
Modifiers
@public
member BgnFuncFail
BgnFuncFail = 1
member BgnFuncOk
BgnFuncOk = 0
member BgnFuncSkip
BgnFuncSkip = 2
member EndFuncFail
EndFuncFail = 1
member EndFuncOk
EndFuncOk = 0
enum CurlCode
enum CurlCode { CURLE_OK = 0, CURLE_UNSUPPORTED_PROTOCOL = 1, CURLE_FAILED_INIT = 2, CURLE_URL_MALFORMAT = 3, CURLE_NOT_BUILT_IN = 4, CURLE_COULDNT_RESOLVE_PROXY = 5, CURLE_COULDNT_RESOLVE_HOST = 6, CURLE_COULDNT_CONNECT = 7, CURLE_WEIRD_SERVER_REPLY = 8, CURLE_REMOTE_ACCESS_DENIED = 9, CURLE_FTP_ACCEPT_FAILED = 10, CURLE_FTP_WEIRD_PASS_REPLY = 11, CURLE_FTP_ACCEPT_TIMEOUT = 12, CURLE_FTP_WEIRD_PASV_REPLY = 13, CURLE_FTP_WEIRD_227_FORMAT = 14, CURLE_FTP_CANT_GET_HOST = 15, CURLE_HTTP2 = 16, CURLE_FTP_COULDNT_SET_TYPE = 17, CURLE_PARTIAL_FILE = 18, CURLE_FTP_COULDNT_RETR_FILE = 19, CURLE_OBSOLETE20 = 20, CURLE_QUOTE_ERROR = 21, CURLE_HTTP_RETURNED_ERROR = 22, CURLE_WRITE_ERROR = 23, CURLE_OBSOLETE24 = 24, CURLE_UPLOAD_FAILED = 25, CURLE_READ_ERROR = 26, CURLE_OUT_OF_MEMORY = 27, CURLE_OPERATION_TIMEDOUT = 28, CURLE_OBSOLETE29 = 29, CURLE_FTP_PORT_FAILED = 30, CURLE_FTP_COULDNT_USE_REST = 31, CURLE_OBSOLETE32 = 32, CURLE_RANGE_ERROR = 33, CURLE_HTTP_POST_ERROR = 34, CURLE_SSL_CONNECT_ERROR = 35, CURLE_BAD_DOWNLOAD_RESUME = 36, CURLE_FILE_COULDNT_READ_FILE = 37, CURLE_LDAP_CANNOT_BIND = 38, CURLE_LDAP_SEARCH_FAILED = 39, CURLE_OBSOLETE40 = 40, CURLE_FUNCTION_NOT_FOUND = 41, CURLE_ABORTED_BY_CALLBACK = 42, CURLE_BAD_FUNCTION_ARGUMENT = 43, CURLE_OBSOLETE44 = 44, CURLE_INTERFACE_FAILED = 45, CURLE_OBSOLETE46 = 46, CURLE_TOO_MANY_REDIRECTS = 47, CURLE_UNKNOWN_OPTION = 48, CURLE_SETOPT_OPTION_SYNTAX = 49, CURLE_OBSOLETE50 = 50, CURLE_OBSOLETE51 = 51, CURLE_GOT_NOTHING = 52, CURLE_SSL_ENGINE_NOTFOUND = 53, CURLE_SSL_ENGINE_SETFAILED = 54, CURLE_SEND_ERROR = 55, CURLE_RECV_ERROR = 56, CURLE_OBSOLETE57 = 57, CURLE_SSL_CERTPROBLEM = 58, CURLE_SSL_CIPHER = 59, CURLE_PEER_FAILED_VERIFICATION = 60, CURLE_BAD_CONTENT_ENCODING = 61, CURLE_LDAP_INVALID_URL = 62, CURLE_FILESIZE_EXCEEDED = 63, CURLE_USE_SSL_FAILED = 64, CURLE_SEND_FAIL_REWIND = 65, CURLE_SSL_ENGINE_INITFAILED = 66, CURLE_LOGIN_DENIED = 67, CURLE_TFTP_NOTFOUND = 68, CURLE_TFTP_PERM = 69, CURLE_REMOTE_DISK_FULL = 70, CURLE_TFTP_ILLEGAL = 71, CURLE_TFTP_UNKNOWNID = 72, CURLE_REMOTE_FILE_EXISTS = 73, CURLE_TFTP_NOSUCHUSER = 74, CURLE_CONV_FAILED = 75, CURLE_CONV_REQD = 76, CURLE_SSL_CACERT_BADFILE = 77, CURLE_REMOTE_FILE_NOT_FOUND = 78, CURLE_SSH = 79, CURLE_SSL_SHUTDOWN_FAILED = 80, CURLE_AGAIN = 81, CURLE_SSL_CRL_BADFILE = 82, CURLE_SSL_ISSUER_ERROR = 83, CURLE_FTP_PRET_FAILED = 84, CURLE_RTSP_CSEQ_ERROR = 85, CURLE_RTSP_SESSION_ERROR = 86, CURLE_FTP_BAD_FILE_LIST = 87, CURLE_CHUNK_FAILED = 88, CURLE_NO_CONNECTION_AVAILABLE = 89, CURLE_SSL_PINNEDPUBKEYNOTMATCH = 90, CURLE_SSL_INVALIDCERTSTATUS = 91, CURLE_HTTP2_STREAM = 92, CURLE_RECURSIVE_API_CALL = 93, CURLE_AUTH_ERROR = 94, CURLE_HTTP3 = 95, CURLE_QUIC_CONNECT_ERROR = 96, CURLE_PROXY = 97, CURLE_SSL_CLIENTCERT = 98, CURLE_LAST = 99, CURLE_FTP_WEIRD_SERVER_REPLY = 8, CURLE_SSL_CACERT = 60, CURLE_UNKNOWN_TELNET_OPTION = 48, CURLE_SSL_PEER_CERTIFICATE = 60, CURLE_TELNET_OPTION_SYNTAX = 49, CURLE_FTP_ACCESS_DENIED = 9, CURLE_FTP_COULDNT_SET_BINARY = 17, CURLE_FTP_QUOTE_ERROR = 21, CURLE_TFTP_DISKFULL = 70, CURLE_TFTP_EXISTS = 73, CURLE_HTTP_RANGE_ERROR = 33, CURLE_FTP_SSL_FAILED = 64, CURLE_OPERATION_TIMEOUTED = 28, CURLE_HTTP_NOT_FOUND = 22, CURLE_HTTP_PORT_FAILED = 45, CURLE_FTP_COULDNT_STOR_FILE = 25, CURLE_FTP_PARTIAL_FILE = 18, CURLE_FTP_BAD_DOWNLOAD_RESUME = 36,}
Modifiers
@public
member CURLE_ABORTED_BY_CALLBACK
CURLE_ABORTED_BY_CALLBACK = 42
member CURLE_AGAIN
CURLE_AGAIN = 81
member CURLE_AUTH_ERROR
CURLE_AUTH_ERROR = 94
member CURLE_BAD_CONTENT_ENCODING
CURLE_BAD_CONTENT_ENCODING = 61
member CURLE_BAD_DOWNLOAD_RESUME
CURLE_BAD_DOWNLOAD_RESUME = 36
member CURLE_BAD_FUNCTION_ARGUMENT
CURLE_BAD_FUNCTION_ARGUMENT = 43
member CURLE_CHUNK_FAILED
CURLE_CHUNK_FAILED = 88
member CURLE_CONV_FAILED
CURLE_CONV_FAILED = 75
member CURLE_CONV_REQD
CURLE_CONV_REQD = 76
member CURLE_COULDNT_CONNECT
CURLE_COULDNT_CONNECT = 7
member CURLE_COULDNT_RESOLVE_HOST
CURLE_COULDNT_RESOLVE_HOST = 6
member CURLE_COULDNT_RESOLVE_PROXY
CURLE_COULDNT_RESOLVE_PROXY = 5
member CURLE_FAILED_INIT
CURLE_FAILED_INIT = 2
member CURLE_FILE_COULDNT_READ_FILE
CURLE_FILE_COULDNT_READ_FILE = 37
member CURLE_FILESIZE_EXCEEDED
CURLE_FILESIZE_EXCEEDED = 63
member CURLE_FTP_ACCEPT_FAILED
CURLE_FTP_ACCEPT_FAILED = 10
member CURLE_FTP_ACCEPT_TIMEOUT
CURLE_FTP_ACCEPT_TIMEOUT = 12
member CURLE_FTP_ACCESS_DENIED
CURLE_FTP_ACCESS_DENIED = 9
member CURLE_FTP_BAD_DOWNLOAD_RESUME
CURLE_FTP_BAD_DOWNLOAD_RESUME = 36
member CURLE_FTP_BAD_FILE_LIST
CURLE_FTP_BAD_FILE_LIST = 87
member CURLE_FTP_CANT_GET_HOST
CURLE_FTP_CANT_GET_HOST = 15
member CURLE_FTP_COULDNT_RETR_FILE
CURLE_FTP_COULDNT_RETR_FILE = 19
member CURLE_FTP_COULDNT_SET_BINARY
CURLE_FTP_COULDNT_SET_BINARY = 17
member CURLE_FTP_COULDNT_SET_TYPE
CURLE_FTP_COULDNT_SET_TYPE = 17
member CURLE_FTP_COULDNT_STOR_FILE
CURLE_FTP_COULDNT_STOR_FILE = 25
member CURLE_FTP_COULDNT_USE_REST
CURLE_FTP_COULDNT_USE_REST = 31
member CURLE_FTP_PARTIAL_FILE
CURLE_FTP_PARTIAL_FILE = 18
member CURLE_FTP_PORT_FAILED
CURLE_FTP_PORT_FAILED = 30
member CURLE_FTP_PRET_FAILED
CURLE_FTP_PRET_FAILED = 84
member CURLE_FTP_QUOTE_ERROR
CURLE_FTP_QUOTE_ERROR = 21
member CURLE_FTP_SSL_FAILED
CURLE_FTP_SSL_FAILED = 64
member CURLE_FTP_WEIRD_227_FORMAT
CURLE_FTP_WEIRD_227_FORMAT = 14
member CURLE_FTP_WEIRD_PASS_REPLY
CURLE_FTP_WEIRD_PASS_REPLY = 11
member CURLE_FTP_WEIRD_PASV_REPLY
CURLE_FTP_WEIRD_PASV_REPLY = 13
member CURLE_FTP_WEIRD_SERVER_REPLY
CURLE_FTP_WEIRD_SERVER_REPLY = 8
member CURLE_FUNCTION_NOT_FOUND
CURLE_FUNCTION_NOT_FOUND = 41
member CURLE_GOT_NOTHING
CURLE_GOT_NOTHING = 52
member CURLE_HTTP_NOT_FOUND
CURLE_HTTP_NOT_FOUND = 22
member CURLE_HTTP_PORT_FAILED
CURLE_HTTP_PORT_FAILED = 45
member CURLE_HTTP_POST_ERROR
CURLE_HTTP_POST_ERROR = 34
member CURLE_HTTP_RANGE_ERROR
CURLE_HTTP_RANGE_ERROR = 33
member CURLE_HTTP_RETURNED_ERROR
CURLE_HTTP_RETURNED_ERROR = 22
member CURLE_HTTP2
CURLE_HTTP2 = 16
member CURLE_HTTP2_STREAM
CURLE_HTTP2_STREAM = 92
member CURLE_HTTP3
CURLE_HTTP3 = 95
member CURLE_INTERFACE_FAILED
CURLE_INTERFACE_FAILED = 45
member CURLE_LAST
CURLE_LAST = 99
member CURLE_LDAP_CANNOT_BIND
CURLE_LDAP_CANNOT_BIND = 38
member CURLE_LDAP_INVALID_URL
CURLE_LDAP_INVALID_URL = 62
member CURLE_LDAP_SEARCH_FAILED
CURLE_LDAP_SEARCH_FAILED = 39
member CURLE_LOGIN_DENIED
CURLE_LOGIN_DENIED = 67
member CURLE_NO_CONNECTION_AVAILABLE
CURLE_NO_CONNECTION_AVAILABLE = 89
member CURLE_NOT_BUILT_IN
CURLE_NOT_BUILT_IN = 4
member CURLE_OBSOLETE20
CURLE_OBSOLETE20 = 20
member CURLE_OBSOLETE24
CURLE_OBSOLETE24 = 24
member CURLE_OBSOLETE29
CURLE_OBSOLETE29 = 29
member CURLE_OBSOLETE32
CURLE_OBSOLETE32 = 32
member CURLE_OBSOLETE40
CURLE_OBSOLETE40 = 40
member CURLE_OBSOLETE44
CURLE_OBSOLETE44 = 44
member CURLE_OBSOLETE46
CURLE_OBSOLETE46 = 46
member CURLE_OBSOLETE50
CURLE_OBSOLETE50 = 50
member CURLE_OBSOLETE51
CURLE_OBSOLETE51 = 51
member CURLE_OBSOLETE57
CURLE_OBSOLETE57 = 57
member CURLE_OK
CURLE_OK = 0
member CURLE_OPERATION_TIMEDOUT
CURLE_OPERATION_TIMEDOUT = 28
member CURLE_OPERATION_TIMEOUTED
CURLE_OPERATION_TIMEOUTED = 28
member CURLE_OUT_OF_MEMORY
CURLE_OUT_OF_MEMORY = 27
member CURLE_PARTIAL_FILE
CURLE_PARTIAL_FILE = 18
member CURLE_PEER_FAILED_VERIFICATION
CURLE_PEER_FAILED_VERIFICATION = 60
member CURLE_PROXY
CURLE_PROXY = 97
member CURLE_QUIC_CONNECT_ERROR
CURLE_QUIC_CONNECT_ERROR = 96
member CURLE_QUOTE_ERROR
CURLE_QUOTE_ERROR = 21
member CURLE_RANGE_ERROR
CURLE_RANGE_ERROR = 33
member CURLE_READ_ERROR
CURLE_READ_ERROR = 26
member CURLE_RECURSIVE_API_CALL
CURLE_RECURSIVE_API_CALL = 93
member CURLE_RECV_ERROR
CURLE_RECV_ERROR = 56
member CURLE_REMOTE_ACCESS_DENIED
CURLE_REMOTE_ACCESS_DENIED = 9
member CURLE_REMOTE_DISK_FULL
CURLE_REMOTE_DISK_FULL = 70
member CURLE_REMOTE_FILE_EXISTS
CURLE_REMOTE_FILE_EXISTS = 73
member CURLE_REMOTE_FILE_NOT_FOUND
CURLE_REMOTE_FILE_NOT_FOUND = 78
member CURLE_RTSP_CSEQ_ERROR
CURLE_RTSP_CSEQ_ERROR = 85
member CURLE_RTSP_SESSION_ERROR
CURLE_RTSP_SESSION_ERROR = 86
member CURLE_SEND_ERROR
CURLE_SEND_ERROR = 55
member CURLE_SEND_FAIL_REWIND
CURLE_SEND_FAIL_REWIND = 65
member CURLE_SETOPT_OPTION_SYNTAX
CURLE_SETOPT_OPTION_SYNTAX = 49
member CURLE_SSH
CURLE_SSH = 79
member CURLE_SSL_CACERT
CURLE_SSL_CACERT = 60
member CURLE_SSL_CACERT_BADFILE
CURLE_SSL_CACERT_BADFILE = 77
member CURLE_SSL_CERTPROBLEM
CURLE_SSL_CERTPROBLEM = 58
member CURLE_SSL_CIPHER
CURLE_SSL_CIPHER = 59
member CURLE_SSL_CLIENTCERT
CURLE_SSL_CLIENTCERT = 98
member CURLE_SSL_CONNECT_ERROR
CURLE_SSL_CONNECT_ERROR = 35
member CURLE_SSL_CRL_BADFILE
CURLE_SSL_CRL_BADFILE = 82
member CURLE_SSL_ENGINE_INITFAILED
CURLE_SSL_ENGINE_INITFAILED = 66
member CURLE_SSL_ENGINE_NOTFOUND
CURLE_SSL_ENGINE_NOTFOUND = 53
member CURLE_SSL_ENGINE_SETFAILED
CURLE_SSL_ENGINE_SETFAILED = 54
member CURLE_SSL_INVALIDCERTSTATUS
CURLE_SSL_INVALIDCERTSTATUS = 91
member CURLE_SSL_ISSUER_ERROR
CURLE_SSL_ISSUER_ERROR = 83
member CURLE_SSL_PEER_CERTIFICATE
CURLE_SSL_PEER_CERTIFICATE = 60
member CURLE_SSL_PINNEDPUBKEYNOTMATCH
CURLE_SSL_PINNEDPUBKEYNOTMATCH = 90
member CURLE_SSL_SHUTDOWN_FAILED
CURLE_SSL_SHUTDOWN_FAILED = 80
member CURLE_TELNET_OPTION_SYNTAX
CURLE_TELNET_OPTION_SYNTAX = 49
member CURLE_TFTP_DISKFULL
CURLE_TFTP_DISKFULL = 70
member CURLE_TFTP_EXISTS
CURLE_TFTP_EXISTS = 73
member CURLE_TFTP_ILLEGAL
CURLE_TFTP_ILLEGAL = 71
member CURLE_TFTP_NOSUCHUSER
CURLE_TFTP_NOSUCHUSER = 74
member CURLE_TFTP_NOTFOUND
CURLE_TFTP_NOTFOUND = 68
member CURLE_TFTP_PERM
CURLE_TFTP_PERM = 69
member CURLE_TFTP_UNKNOWNID
CURLE_TFTP_UNKNOWNID = 72
member CURLE_TOO_MANY_REDIRECTS
CURLE_TOO_MANY_REDIRECTS = 47
member CURLE_UNKNOWN_OPTION
CURLE_UNKNOWN_OPTION = 48
member CURLE_UNKNOWN_TELNET_OPTION
CURLE_UNKNOWN_TELNET_OPTION = 48
member CURLE_UNSUPPORTED_PROTOCOL
CURLE_UNSUPPORTED_PROTOCOL = 1
member CURLE_UPLOAD_FAILED
CURLE_UPLOAD_FAILED = 25
member CURLE_URL_MALFORMAT
CURLE_URL_MALFORMAT = 3
member CURLE_USE_SSL_FAILED
CURLE_USE_SSL_FAILED = 64
member CURLE_WEIRD_SERVER_REPLY
CURLE_WEIRD_SERVER_REPLY = 8
member CURLE_WRITE_ERROR
CURLE_WRITE_ERROR = 23
enum CurlFeature
enum CurlFeature { Empty = 0, NoDataParsing = 1, NoHeaderParsing = 2, Raw = 3, NoDataStorage = 4, NoHeaderStorage = 8, NoStorage = 12, StreamResponse = 16,}
Flags to be used with `Curl#enable` and `Curl#disable`
Modifiers
@public
member Empty
Empty = 0
Initial state
member NoDataParsing
NoDataParsing = 1
Data received is passed as a Buffer to the end event.
member NoDataStorage
NoDataStorage = 4
Data received is not stored inside this handle, implies
NoDataParsing
.
member NoHeaderParsing
NoHeaderParsing = 2
Header received is not parsed, it's passed as a Buffer to the end event.
member NoHeaderStorage
NoHeaderStorage = 8
Header received is not stored inside this handle, implies
NoHeaderParsing
.
member NoStorage
NoStorage = 12
Same than
NoDataStorage | NoHeaderStorage
, impliesRaw
.
member Raw
Raw = 3
Same than
NoDataParsing | NoHeaderParsing
member StreamResponse
StreamResponse = 16
This will change the behavior of the internal
WRITEFUNCTION
to push data into a stream instead of buffering all the data into multipleBuffer
chunks.As soon as the stream is available, it will be passed as the first argument for the
stream
event.Example usage:
const curl = new Curl()curl.setOpt('URL', 'https://some-domain/upload')curl.setStreamProgressCallback(() => {// this will use the default progress callback from libcurlreturn CurlProgressFunc.Continue})curl.on('end', (statusCode, data) => {console.log('\n'.repeat(5))console.log(`curl - end - status: ${statusCode} - data length: ${data.length}`,)curl.close()})curl.on('error', (error, errorCode) => {console.log('\n'.repeat(5))console.error('curl - error: ', error, errorCode)curl.close()})curl.on('stream', async (stream, _statusCode, _headers) => {const writableStream = fs.createWriteStream('./test.out')stream.pipe(writableStream)})curl.perform()Using this implies
NoDataStorage
.To control the
highWaterMark
option of the response stream, see `Curl#setStreamResponseHighWaterMark`Remarks
Make sure your libcurl version is greater than or equal 7.69.1. Versions older than that one are not reliable for streams usage.
enum CurlFileType
enum CurlFileType { File = 0, Directory = 1, Symlink = 2, DeviceBlock = 3, DeviceChar = 4, NamedPipe = 5, Socket = 6, Door = 7,}
Object with constants on the `FileInfo` object, used alongside the
CHUNK_BGN_FUNCTION
optionCURLFILETYPE_DEVICE_BLOCK
becomesCurlFileType.DeviceBlock
Modifiers
@public
member DeviceBlock
DeviceBlock = 3
member DeviceChar
DeviceChar = 4
member Directory
Directory = 1
member Door
Door = 7
member File
File = 0
member NamedPipe
NamedPipe = 5
member Socket
Socket = 6
member Symlink
Symlink = 2
enum CurlFnMatchFunc
enum CurlFnMatchFunc { Match = 0, NoMatch = 1, Fail = 2,}
Object to be used as the return value for the callback set with the option
FNMATCH_FUNCTION
CURL_FNMATCHFUNC_MATCH
becomesCurlFnMatch.Match
Modifiers
@public
enum CurlFtpAuth
enum CurlFtpAuth { Default = 0, Ssl = 1, Tls = 2,}
Object with constants for option
FTPSSLAUTH
CURLFTPAUTH_DEFAULT
becomesCurlFtpAuth.Default
Modifiers
@public
enum CurlFtpMethod
enum CurlFtpMethod { DEFAULT = 0, MULTICWD = 1, NOCWD = 2, SINGLECWD = 3,}
Object with constants for option
FTP_FILEMETHOD
CURLFTPMETHOD_MULTICWD
becomesCurlFtpMethod.MULTICWD
This is not following the PascalCase naming format because of a mistake. To not cause a breaking change it will stay this way until the next major version bump.
Modifiers
@public
enum CurlFtpSsl
enum CurlFtpSsl { CccNone = 0, CccPassive = 1, CccActive = 2,}
Object with constants for option
FTP_SSL_CCC
CURLFTPSSL_CCC_NONE
becomesCurlFtpSsl.CccNone
Modifiers
@public
member CccActive
CccActive = 2
Initiate the shutdown
member CccNone
CccNone = 0
do not send CCC
member CccPassive
CccPassive = 1
Let the server initiate the shutdown
enum CurlGlobalInit
const enum CurlGlobalInit { Nothing = 0, Ssl = 1, Win32 = 2, All = 3, Default = 3, AckEintr = 4,}
Modifiers
@public
enum CurlGssApi
enum CurlGssApi { None = 0, PolicyFlag = 1, DelegationFlag = 2,}
Object with constants for option
GSSAPI_DELEGATION
CURLGSSAPI_DELEGATION_FLAG
becomesCurlGssApi.DelegationFlag
Modifiers
@public
member DelegationFlag
DelegationFlag = 2
delegate always
member None
None = 0
None, default
member PolicyFlag
PolicyFlag = 1
if permitted by policy
enum CurlHeader
enum CurlHeader { Unified = 0, Separate = 1,}
Object with bitmasks to be used with
HEADEROPT
.Available since libcurl version >= 7.37.0
CURLHEADER_UNIFIED
becomesCurlHeader.Unified
Modifiers
@public
enum CurlHsts
enum CurlHsts { Disabled = 0, Enable = 1, ReadonlyFile = 2,}
Object with bitmasks that should be used with the
HSTS_CTRL
option.CURLAUTH_BASIC
becomesCurlAuth.Basic
Modifiers
@public
member Disabled
Disabled = 0
Disable the in-memory HSTS cache for this handle.
member Enable
Enable = 1
Enable the in-memory HSTS cache for this handle.
member ReadonlyFile
ReadonlyFile = 2
Make the HSTS file (if specified) read-only - makes libcurl not save the cache to the file when closing the handle.
enum CurlHstsCallback
enum CurlHstsCallback { Ok = 0, Done = 1, Fail = 2,}
Object with constants to be used as the return value for the callbacks set for options
HSTSWRITEFUNCTION
andHSTSREADFUNCTION
.CURLSTS_OK
becomesCurlHstsCallback.Ok
Modifiers
@public
enum CurlHttpVersion
enum CurlHttpVersion { None = 0, V1_0 = 1, V1_1 = 2, V2_0 = 3, V2Tls = 4, V2PriorKnowledge = 5, v3 = 6,}
Object with constants to be used with the
HTTP_VERSION
option.CURL_HTTP_VERSION_NONE
becomesCurlHttpVersion.None
andCURL_HTTP_VERSION_1_0
becomesCurlHttpVersion.V1_0
Modifiers
@public
member None
None = 0
Setting this means we don't care, and that we'd like the library to choose the best possible for us!
member V1_0
V1_0 = 1
member V1_1
V1_1 = 2
member V2_0
V2_0 = 3
member V2PriorKnowledge
V2PriorKnowledge = 5
Use HTTP 2 without HTTP/1.1 Upgrade
member V2Tls
V2Tls = 4
Use version 2 for HTTPS, version 1.1 for HTTP
member v3
v3 = 6
enum CurlInfoDebug
enum CurlInfoDebug { Text = 0, HeaderIn = 1, HeaderOut = 2, DataIn = 3, DataOut = 4, SslDataIn = 5, SslDataOut = 6,}
When the option
DEBUGFUNCTION
is set, the first argument to the callback will be one of these.CURLINFO_SSL_DATA_IN
becomesCurlInfoDebug.SslDataOut
Modifiers
@public
enum CurlIpResolve
enum CurlIpResolve { Whatever = 0, V4 = 1, V6 = 2,}
Object with constants for option
IPRESOLVE
CURL_IPRESOLVE_V4
becomesCurl.ipresolve.V4
Modifiers
@public
enum CurlMultiCode
enum CurlMultiCode { CURLM_CALL_MULTI_PERFORM = -1, CURLM_OK = 0, CURLM_BAD_HANDLE = 1, CURLM_BAD_EASY_HANDLE = 2, CURLM_OUT_OF_MEMORY = 3, CURLM_INTERNAL_ERROR = 4, CURLM_BAD_SOCKET = 5, CURLM_UNKNOWN_OPTION = 6, CURLM_ADDED_ALREADY = 7, CURLM_RECURSIVE_API_CALL = 8, CURLM_WAKEUP_FAILURE = 9, CURLM_BAD_FUNCTION_ARGUMENT = 10, CURLM_LAST = 11, CURLM_CALL_MULTI_SOCKET = -1,}
Modifiers
@public
member CURLM_ADDED_ALREADY
CURLM_ADDED_ALREADY = 7
member CURLM_BAD_EASY_HANDLE
CURLM_BAD_EASY_HANDLE = 2
member CURLM_BAD_FUNCTION_ARGUMENT
CURLM_BAD_FUNCTION_ARGUMENT = 10
member CURLM_BAD_HANDLE
CURLM_BAD_HANDLE = 1
member CURLM_BAD_SOCKET
CURLM_BAD_SOCKET = 5
member CURLM_CALL_MULTI_PERFORM
CURLM_CALL_MULTI_PERFORM = -1
member CURLM_CALL_MULTI_SOCKET
CURLM_CALL_MULTI_SOCKET = -1
member CURLM_INTERNAL_ERROR
CURLM_INTERNAL_ERROR = 4
member CURLM_LAST
CURLM_LAST = 11
member CURLM_OK
CURLM_OK = 0
member CURLM_OUT_OF_MEMORY
CURLM_OUT_OF_MEMORY = 3
member CURLM_RECURSIVE_API_CALL
CURLM_RECURSIVE_API_CALL = 8
member CURLM_UNKNOWN_OPTION
CURLM_UNKNOWN_OPTION = 6
member CURLM_WAKEUP_FAILURE
CURLM_WAKEUP_FAILURE = 9
enum CurlNetrc
enum CurlNetrc { Ignored = 0, Optional = 1, Required = 2,}
To be used with the
NETRC
optionCURL_NETRC_OPTIONAL
becomesCurlNetrc.Optional
Modifiers
@public
member Ignored
Ignored = 0
The .netrc will never be read. This is the default
member Optional
Optional = 1
A user:password in the URL will be preferred to one in the .netrc
member Required
Required = 2
A user:password in the URL will be ignored. Unless one is set programmatically, the .netrc will be queried.
enum CurlPause
enum CurlPause { Recv = 1, RecvCont = 0, Send = 4, SendCont = 0, All = 5, Cont = 0,}
Options to be used with `Easy#pause` and `Curl#pause`.
CURLPAUSE_RECV_CONT
becomesCurlPause.RecvCont
Modifiers
@public
enum CurlPipe
enum CurlPipe { Nothing = 0, Http1 = 1, Multiplex = 2,}
Object with bit constants to be used with the multi handle option
PIPELINING
Those are available starting with libcurl 7.43.0.CURLPIPE_NOTHING
becomesCurlPipe.Nothing
Modifiers
@public
member Http1
Http1 = 1
Deprecated and has no effect since version 7.62.0
member Multiplex
Multiplex = 2
If this bit is set, libcurl will try to multiplex the new transfer over an existing connection if possible. This requires HTTP/2.
This is enabled by default starting with version 7.62.0
member Nothing
Nothing = 0
enum CurlProgressFunc
enum CurlProgressFunc { Continue = 268435457,}
To be used with the progress callback
CURL_PROGRESSFUNC_CONTINUE
becomesCurlProgressFunc.Continue
Modifiers
@public
member Continue
Continue = 268435457
This is a return code for the progress callback that, when returned, will signal libcurl to continue executing the default progress function Added on libcurl 7.68
enum CurlProtocol
enum CurlProtocol { HTTP = 1, HTTPS = 2, FTP = 4, FTPS = 8, SCP = 16, SFTP = 32, TELNET = 64, LDAP = 128, LDAPS = 256, DICT = 512, FILE = 1024, TFTP = 2048, IMAP = 4096, IMAPS = 8192, POP3 = 16384, POP3S = 32768, SMTP = 65536, SMTPS = 131072, RTSP = 262144, RTMP = 524288, RTMPT = 1048576, RTMPE = 2097152, RTMPTE = 4194304, RTMPS = 8388608, RTMPTS = 16777216, GOPHER = 33554432, SMB = 67108864, SMBS = 134217728, MQTT = 268435456, GOPHERS = 536870912, ALL = -1,}
Object with the protocols supported by libcurl, as bitmasks. Should be used when setting
PROTOCOLS
andREDIR_PROTOCOLS
options.CURLPROTO_HTTP
becomesCurlProtocol.HTTP
Modifiers
@public
member ALL
ALL = -1
member DICT
DICT = 512
member FILE
FILE = 1024
member FTP
FTP = 4
member FTPS
FTPS = 8
member GOPHER
GOPHER = 33554432
member GOPHERS
GOPHERS = 536870912
member HTTP
HTTP = 1
member HTTPS
HTTPS = 2
member IMAP
IMAP = 4096
member IMAPS
IMAPS = 8192
member LDAP
LDAP = 128
member LDAPS
LDAPS = 256
member MQTT
MQTT = 268435456
member POP3
POP3 = 16384
member POP3S
POP3S = 32768
member RTMP
RTMP = 524288
member RTMPE
RTMPE = 2097152
member RTMPS
RTMPS = 8388608
member RTMPT
RTMPT = 1048576
member RTMPTE
RTMPTE = 4194304
member RTMPTS
RTMPTS = 16777216
member RTSP
RTSP = 262144
member SCP
SCP = 16
member SFTP
SFTP = 32
member SMB
SMB = 67108864
member SMBS
SMBS = 134217728
member SMTP
SMTP = 65536
member SMTPS
SMTPS = 131072
member TELNET
TELNET = 64
member TFTP
TFTP = 2048
enum CurlProxy
enum CurlProxy { Http = 0, Http_1_0 = 1, Https = 2, Socks4 = 4, Socks5 = 5, Socks4A = 6, Socks5Hostname = 7,}
Object with constants for option
PROXYTYPE
CURLPROXY_HTTP
becomesCurlProxy.Http
Modifiers
@public
enum CurlPush
enum CurlPush { Ok = 0, Deny = 1, ErrorOut = 2,}
Object with constants to be used as the return value for the `Multi` option
PUSHFUNCTION
.CURL_PUSH_OK
becomesCurlPush.Ok
Modifiers
@public
enum CurlPx
enum CurlPx { Ok = 0, BadAddressType = 1, BadVersion = 2, Closed = 3, Gssapi = 4, GssapiPermsg = 5, GssapiProtection = 6, Identd = 7, IdentdDiffer = 8, LongHostname = 9, LongPasswd = 10, LongUser = 11, NoAuth = 12, RecvAddress = 13, RecvAuth = 14, RecvConnect = 15, RecvReqack = 16, ReplyAddressTypeNotSupported = 17, ReplyCommandNotSupported = 18, ReplyConnectionRefused = 19, ReplyGeneralServerFailure = 20, ReplyHostUnreachable = 21, ReplyNetworkUnreachable = 22, ReplyNotAllowed = 23, ReplyTtlExpired = 24, ReplyUnassigned = 25, RequestFailed = 26, ResolveHost = 27, SendAuth = 28, SendConnect = 29, SendRequest = 30, UnknownFail = 31, UnknownMode = 32, UserRejected = 33,}
Object with constants for usage with the info
PROXY_ERROR
CURLPX_OK
becomesCurlPx.Ok
Modifiers
@public
member BadAddressType
BadAddressType = 1
member BadVersion
BadVersion = 2
member Closed
Closed = 3
member Gssapi
Gssapi = 4
member GssapiPermsg
GssapiPermsg = 5
member GssapiProtection
GssapiProtection = 6
member Identd
Identd = 7
member IdentdDiffer
IdentdDiffer = 8
member LongHostname
LongHostname = 9
member LongPasswd
LongPasswd = 10
member LongUser
LongUser = 11
member NoAuth
NoAuth = 12
member Ok
Ok = 0
member RecvAddress
RecvAddress = 13
member RecvAuth
RecvAuth = 14
member RecvConnect
RecvConnect = 15
member RecvReqack
RecvReqack = 16
member ReplyAddressTypeNotSupported
ReplyAddressTypeNotSupported = 17
member ReplyCommandNotSupported
ReplyCommandNotSupported = 18
member ReplyConnectionRefused
ReplyConnectionRefused = 19
member ReplyGeneralServerFailure
ReplyGeneralServerFailure = 20
member ReplyHostUnreachable
ReplyHostUnreachable = 21
member ReplyNetworkUnreachable
ReplyNetworkUnreachable = 22
member ReplyNotAllowed
ReplyNotAllowed = 23
member ReplyTtlExpired
ReplyTtlExpired = 24
member ReplyUnassigned
ReplyUnassigned = 25
member RequestFailed
RequestFailed = 26
member ResolveHost
ResolveHost = 27
member SendAuth
SendAuth = 28
member SendConnect
SendConnect = 29
member SendRequest
SendRequest = 30
member UnknownFail
UnknownFail = 31
member UnknownMode
UnknownMode = 32
member UserRejected
UserRejected = 33
enum CurlReadFunc
enum CurlReadFunc { Abort = 268435456, Pause = 268435457,}
Special return codes for
READFUNCTION
optionCURL_READFUNC_ABORT
becomesCurlReadFunc.Abort
Modifiers
@public
enum CurlRtspRequest
enum CurlRtspRequest { None = 0, Options = 1, Describe = 2, Announce = 3, Setup = 4, Play = 5, Pause = 6, Teardown = 7, GetParameter = 8, SetParameter = 9, Record = 10, Receive = 11,}
Object with constants for option
RTSP_REQUEST
Only available on libcurl >= 7.20CURL_RTSPREQ_OPTIONS
becomesCurlRtspRequest.Options
Modifiers
@public
member Announce
Announce = 3
member Describe
Describe = 2
member GetParameter
GetParameter = 8
member None
None = 0
member Options
Options = 1
member Pause
Pause = 6
member Play
Play = 5
member Receive
Receive = 11
member Record
Record = 10
member SetParameter
SetParameter = 9
member Setup
Setup = 4
member Teardown
Teardown = 7
enum CurlShareCode
enum CurlShareCode { CURLSHE_OK = 0, CURLSHE_BAD_OPTION = 1, CURLSHE_IN_USE = 2, CURLSHE_INVALID = 3, CURLSHE_NOMEM = 4, CURLSHE_NOT_BUILT_IN = 5, CURLSHE_LAST = 6,}
Modifiers
@public
member CURLSHE_BAD_OPTION
CURLSHE_BAD_OPTION = 1
member CURLSHE_IN_USE
CURLSHE_IN_USE = 2
member CURLSHE_INVALID
CURLSHE_INVALID = 3
member CURLSHE_LAST
CURLSHE_LAST = 6
member CURLSHE_NOMEM
CURLSHE_NOMEM = 4
member CURLSHE_NOT_BUILT_IN
CURLSHE_NOT_BUILT_IN = 5
member CURLSHE_OK
CURLSHE_OK = 0
enum CurlShareLock
enum CurlShareLock { DataNone = 0, DataShare = 1, DataCookie = 2, DataDns = 3, DataSslSession = 4, DataConnect = 5, DataPsl = 6,}
Options to be used when setting
SHARE
orUNSHARE
with `Share#setOpt`.CURL_LOCK_DATA_SSL_SESSION
becomesCurlShareLock.DataSslSession
Modifiers
@public
member DataConnect
DataConnect = 5
member DataCookie
DataCookie = 2
member DataDns
DataDns = 3
member DataNone
DataNone = 0
member DataPsl
DataPsl = 6
member DataShare
DataShare = 1
DataShare is used internally to say that the locking is just made to change the internal state of the share itself.
member DataSslSession
DataSslSession = 4
enum CurlShareOption
enum CurlShareOption { SHARE = 1, UNSHARE = 2,}
Options to be used with `Share#setOpt`.
Modifiers
@public
enum CurlSshAuth
enum CurlSshAuth { Any = -1, None = 0, PublicKey = 1, Password = 2, Host = 4, Keyboard = 8, Agent = 16, GssApi = 32, Default = -1,}
Object with constants for option
SSH_AUTH_TYPES
CURLSSH_AUTH_PASSWORD
becomesCurlSshAuth.Password
Modifiers
@public
member Agent
Agent = 16
agent (ssh-agent, pageant...)
member Any
Any = -1
all types supported by the server
member Default
Default = -1
member GssApi
GssApi = 32
gssapi (kerberos, ...)
member Host
Host = 4
host key files
member Keyboard
Keyboard = 8
keyboard interactive
member None
None = 0
none allowed, silly but complete
member Password
Password = 2
password
member PublicKey
PublicKey = 1
public/private key files
enum CurlSslOpt
enum CurlSslOpt { AllowBeast = 1, NoRevoke = 2, NoPartialChain = 4, RevokeBestEffort = 8, NativeCa = 16, AutoClientCert = 32,}
Object with constants for option
SSL_OPTIONS
and/orPROXY_SSL_OPTIONS
CURLSSLOPT_ALLOW_BEAST
becomesCurlSslOpt.AllowBeast
Modifiers
@public
member AllowBeast
AllowBeast = 1
Tells libcurl to allow the BEAST SSL vulnerability in the name of improving interoperability with older servers. Some SSL libraries have introduced work-arounds for this flaw but those work-arounds sometimes make the SSL communication fail. To regain functionality with those broken servers, a user can this way allow the vulnerability back.
member AutoClientCert
AutoClientCert = 32
Tells libcurl to automatically locate and use a client certificate for authentication. (Schannel)
Added with libcurl 7.77 - This was the default in previous versions
member NativeCa
NativeCa = 16
Tells libcurl to use standard certificate store of operating system. Currently implemented under MS-Windows.
member NoPartialChain
NoPartialChain = 4
Tells libcurl to *NOT* accept a partial certificate chain if possible. The OpenSSL backend has this ability.
member NoRevoke
NoRevoke = 2
Tells libcurl to disable certificate revocation checks for those SSL backends where such behavior is present.
member RevokeBestEffort
RevokeBestEffort = 8
Tells libcurl to ignore certificate revocation offline checks and ignore missing revocation list for those SSL backends where such behavior is present.
enum CurlSslVersion
enum CurlSslVersion { Default = 0, TlsV1 = 1, SslV2 = 2, SslV3 = 3, TlsV1_0 = 4, TlsV1_1 = 5, TlsV1_2 = 6, TlsV1_3 = 7,}
Object with constants for option
SSLVERSION
CURL_SSLVERSION_DEFAULT
becomesCurlSslVersion.Default
Modifiers
@public
enum CurlSslVersionMax
enum CurlSslVersionMax { None = 0, Default = 65536, TlsV1_0 = 262144, TlsV1_1 = 327680, TlsV1_2 = 393216, TlsV1_3 = 458752,}
Object with constants for option
SSLVERSION
The maximum TLS version can be set by using one of the
CurlSslVersionMax
fields of this Enum. It is also possible to OR one of theCurlSslVersion
fields with one ofCurlSslVersionMax
CURL_SSLVERSION_MAX_TLSv1_0
becomesCurlSslVersionMax.TlsV1_0
Modifiers
@public
enum CurlTimeCond
enum CurlTimeCond { None = 0, IfModSince = 1, IfUnmodSince = 2, LastMod = 3,}
Object with constants for option
TIMECONDITION
CURL_TIMECOND_IFMODSINCE
becomesCurlTimeCond.IfModSince
Modifiers
@public
member IfModSince
IfModSince = 1
member IfUnmodSince
IfUnmodSince = 2
member LastMod
LastMod = 3
member None
None = 0
enum CurlUseSsl
enum CurlUseSsl { None = 0, Try = 1, Control = 2, All = 3,}
Object with constants for option
USE_SSL
CURLUSESSL_NONE
becomesCurlUseSsl.None
Modifiers
@public
enum CurlVersion
enum CurlVersion { Ipv6 = 1, Kerberos4 = 2, Ssl = 4, Libz = 8, Ntlm = 16, GssNegotiate = 32, Debug = 64, AsynchDns = 128, Spnego = 256, LargeFile = 512, Idn = 1024, Sspi = 2048, Conv = 4096, CurlDebug = 8192, TlsAuthSrp = 16384, NtlmWb = 32768, Http2 = 65536, GssApi = 131072, Kerberos5 = 262144, UnixSockets = 524288, Psl = 1048576, HttpsProxy = 2097152, MultiSsl = 4194304, Brotli = 8388608, AltSvc = 16777216, Http3 = 33554432, Zstd = 67108864, Unicode = 134217728, Gsasl = 536870912,}
Object with constants for use with the
rawFeatures
member of `CurlVersionInfoNativeBindingObject`, which is returned from `Curl.getVersionInfo`.CURL_VERSION_IPV6
becomesCurlVersion.Ipv6
CURL_VERSION_GSSNEGOTIATE
becomesCurlVersion.GssNegotiate
...Modifiers
@public
member AltSvc
AltSvc = 16777216
Alt-Svc handling built-in
member AsynchDns
AsynchDns = 128
Asynchronous DNS resolver is available
member Brotli
Brotli = 8388608
Brotli features are present.
member Conv
Conv = 4096
Character conversions supported
member CurlDebug
CurlDebug = 8192
Debug memory tracking supported
member Debug
Debug = 64
libcurl was built with debug capabilities
member Gsasl
Gsasl = 536870912
libgsasl is supported
member GssApi
GssApi = 131072
Built against a GSS-API library
member GssNegotiate
GssNegotiate = 32
Negotiate auth is supported (deprecated)
member Http2
Http2 = 65536
HTTP2 support built-in
member Http3
Http3 = 33554432
HTTP3 support built-in
member HttpsProxy
HttpsProxy = 2097152
HTTPS-proxy support built-in
member Idn
Idn = 1024
Internationized Domain Names are supported
member Ipv6
Ipv6 = 1
IPv6-enabled
member Kerberos4
Kerberos4 = 2
Kerberos V4 auth is supported (deprecated)
member Kerberos5
Kerberos5 = 262144
Kerberos V5 auth is supported
member LargeFile
LargeFile = 512
Supports files larger than 2GB
member Libz
Libz = 8
libz features are present
member MultiSsl
MultiSsl = 4194304
Multiple SSL backends available
member Ntlm
Ntlm = 16
NTLM auth is supported
member NtlmWb
NtlmWb = 32768
NTLM delegation to winbind helper is supported
member Psl
Psl = 1048576
Mozilla's Public Suffix List, used for cookie domain verification
member Spnego
Spnego = 256
SPNEGO auth is supported
member Ssl
Ssl = 4
SSL options are present
member Sspi
Sspi = 2048
Built against Windows SSPI
member TlsAuthSrp
TlsAuthSrp = 16384
TLS-SRP auth is supported
member Unicode
Unicode = 134217728
Unicode support on Windows
member UnixSockets
UnixSockets = 524288
Unix domain sockets support
member Zstd
Zstd = 67108864
zstd features are present
enum CurlWriteFunc
enum CurlWriteFunc { Pause = 268435457,}
Special return codes for
WRITEFUNCTION
optionCURL_WRITEFUNC_PAUSE
becomesCurlWriteFunc.Pause
Modifiers
@public
member Pause
Pause = 268435457
enum SocketState
enum SocketState { Readable = 1, Writable = 2,}
This will be the type of the second parameter passed to the callback set with `Easy#onSocketEvent`.
Modifiers
@public
Type Aliases
type CurlInfoName
type CurlInfoName = | 'ACTIVESOCKET' | 'APPCONNECT_TIME' | 'APPCONNECT_TIME_T' | 'CAINFO' | 'CAPATH' | 'CERTINFO' | 'CONDITION_UNMET' | 'CONNECT_TIME' | 'CONNECT_TIME_T' | 'CONTENT_LENGTH_DOWNLOAD' | 'CONTENT_LENGTH_DOWNLOAD_T' | 'CONTENT_LENGTH_UPLOAD' | 'CONTENT_LENGTH_UPLOAD_T' | 'CONTENT_TYPE' | 'COOKIELIST' | 'EFFECTIVE_METHOD' | 'EFFECTIVE_URL' | 'FILETIME' | 'FILETIME_T' | 'FTP_ENTRY_PATH' | 'HEADER_SIZE' | 'HTTP_CONNECTCODE' | 'HTTP_VERSION' | 'HTTPAUTH_AVAIL' | 'LASTSOCKET' | 'LOCAL_IP' | 'LOCAL_PORT' | 'NAMELOOKUP_TIME' | 'NAMELOOKUP_TIME_T' | 'NUM_CONNECTS' | 'OS_ERRNO' | 'PRETRANSFER_TIME' | 'PRETRANSFER_TIME_T' | 'PRIMARY_IP' | 'PRIMARY_PORT' | 'PRIVATE' | 'PROTOCOL' | 'PROXY_ERROR' | 'PROXY_SSL_VERIFYRESULT' | 'PROXYAUTH_AVAIL' | 'REDIRECT_COUNT' | 'REDIRECT_TIME' | 'REDIRECT_TIME_T' | 'REDIRECT_URL' | 'REFERER' | 'REQUEST_SIZE' | 'RESPONSE_CODE' | 'RETRY_AFTER' | 'RTSP_CLIENT_CSEQ' | 'RTSP_CSEQ_RECV' | 'RTSP_SERVER_CSEQ' | 'RTSP_SESSION_ID' | 'SCHEME' | 'SIZE_DOWNLOAD' | 'SIZE_DOWNLOAD_T' | 'SIZE_UPLOAD' | 'SIZE_UPLOAD_T' | 'SPEED_DOWNLOAD' | 'SPEED_DOWNLOAD_T' | 'SPEED_UPLOAD' | 'SPEED_UPLOAD_T' | 'SSL_ENGINES' | 'SSL_VERIFYRESULT' | 'STARTTRANSFER_TIME' | 'STARTTRANSFER_TIME_T' | 'TLS_SESSION' | 'TLS_SSL_PTR' | 'TOTAL_TIME' | 'TOTAL_TIME_T';
Modifiers
@public
type CurlOptionName
type CurlOptionName = | 'ABSTRACT_UNIX_SOCKET' | 'ACCEPT_ENCODING' | 'ACCEPTTIMEOUT_MS' | 'ADDRESS_SCOPE' | 'ALTSVC' | 'ALTSVC_CTRL' | 'APPEND' | 'AUTOREFERER' | 'AWS_SIGV4' | 'BUFFERSIZE' | 'CAINFO' | 'CAINFO_BLOB' | 'CAPATH' | 'CERTINFO' | 'CHUNK_BGN_FUNCTION' | 'CHUNK_END_FUNCTION' | 'CONNECT_ONLY' | 'CONNECT_TO' | 'CONNECTTIMEOUT' | 'CONNECTTIMEOUT_MS' | 'COOKIE' | 'COOKIEFILE' | 'COOKIEJAR' | 'COOKIELIST' | 'COOKIESESSION' | 'CRLF' | 'CRLFILE' | 'CUSTOMREQUEST' | 'DEBUGFUNCTION' | 'DEFAULT_PROTOCOL' | 'DIRLISTONLY' | 'DISALLOW_USERNAME_IN_URL' | 'DNS_CACHE_TIMEOUT' | 'DNS_INTERFACE' | 'DNS_LOCAL_IP4' | 'DNS_LOCAL_IP6' | 'DNS_SERVERS' | 'DNS_SHUFFLE_ADDRESSES' | 'DNS_USE_GLOBAL_CACHE' | 'DOH_SSL_VERIFYHOST' | 'DOH_SSL_VERIFYPEER' | 'DOH_SSL_VERIFYSTATUS' | 'DOH_URL' | 'EGDSOCKET' | 'EXPECT_100_TIMEOUT_MS' | 'FAILONERROR' | 'FILETIME' | 'FNMATCH_FUNCTION' | 'FOLLOWLOCATION' | 'FORBID_REUSE' | 'FRESH_CONNECT' | 'FTP_ACCOUNT' | 'FTP_ALTERNATIVE_TO_USER' | 'FTP_CREATE_MISSING_DIRS' | 'FTP_FILEMETHOD' | 'FTP_SKIP_PASV_IP' | 'FTP_SSL_CCC' | 'FTP_USE_EPRT' | 'FTP_USE_EPSV' | 'FTP_USE_PRET' | 'FTPPORT' | 'FTPSSLAUTH' | 'GSSAPI_DELEGATION' | 'HAPPY_EYEBALLS_TIMEOUT_MS' | 'HAPROXYPROTOCOL' | 'HEADER' | 'HEADERFUNCTION' | 'HEADEROPT' | 'HSTS' | 'HSTS_CTRL' | 'HSTSREADFUNCTION' | 'HSTSWRITEFUNCTION' | 'HTTP_CONTENT_DECODING' | 'HTTP_TRANSFER_DECODING' | 'HTTP_VERSION' | 'HTTP09_ALLOWED' | 'HTTP200ALIASES' | 'HTTPAUTH' | 'HTTPGET' | 'HTTPHEADER' | 'HTTPPOST' | 'HTTPPROXYTUNNEL' | 'IGNORE_CONTENT_LENGTH' | 'INFILESIZE' | 'INFILESIZE_LARGE' | 'INTERFACE' | 'IPRESOLVE' | 'ISSUERCERT' | 'ISSUERCERT_BLOB' | 'KEEP_SENDING_ON_ERROR' | 'KEYPASSWD' | 'KRBLEVEL' | 'LOCALPORT' | 'LOCALPORTRANGE' | 'LOGIN_OPTIONS' | 'LOW_SPEED_LIMIT' | 'LOW_SPEED_TIME' | 'MAIL_AUTH' | 'MAIL_FROM' | 'MAIL_RCPT' | 'MAIL_RCPT_ALLLOWFAILS' | 'MAX_RECV_SPEED_LARGE' | 'MAX_SEND_SPEED_LARGE' | 'MAXAGE_CONN' | 'MAXCONNECTS' | 'MAXFILESIZE' | 'MAXFILESIZE_LARGE' | 'MAXLIFETIME_CONN' | 'MAXREDIRS' | 'NETRC' | 'NETRC_FILE' | 'NEW_DIRECTORY_PERMS' | 'NEW_FILE_PERMS' | 'NOBODY' | 'NOPROGRESS' | 'NOPROXY' | 'NOSIGNAL' | 'PASSWORD' | 'PATH_AS_IS' | 'PINNEDPUBLICKEY' | 'PIPEWAIT' | 'PORT' | 'POST' | 'POSTFIELDS' | 'POSTFIELDSIZE' | 'POSTFIELDSIZE_LARGE' | 'POSTQUOTE' | 'POSTREDIR' | 'PRE_PROXY' | 'PREQUOTE' | 'PREREQFUNCTION' | 'PROGRESSFUNCTION' | 'PROTOCOLS' | 'PROTOCOLS_STR' | 'PROXY' | 'PROXY_CAINFO' | 'PROXY_CAINFO_BLOB' | 'PROXY_CAPATH' | 'PROXY_CRLFILE' | 'PROXY_ISSUERCERT' | 'PROXY_ISSUERCERT_BLOB' | 'PROXY_KEYPASSWD' | 'PROXY_PINNEDPUBLICKEY' | 'PROXY_SERVICE_NAME' | 'PROXY_SSL_CIPHER_LIST' | 'PROXY_SSL_OPTIONS' | 'PROXY_SSL_VERIFYHOST' | 'PROXY_SSL_VERIFYPEER' | 'PROXY_SSLCERT' | 'PROXY_SSLCERT_BLOB' | 'PROXY_SSLCERTTYPE' | 'PROXY_SSLKEY' | 'PROXY_SSLKEY_BLOB' | 'PROXY_SSLKEYTYPE' | 'PROXY_SSLVERSION' | 'PROXY_TLS13_CIPHERS' | 'PROXY_TLSAUTH_PASSWORD' | 'PROXY_TLSAUTH_TYPE' | 'PROXY_TLSAUTH_USERNAME' | 'PROXY_TRANSFER_MODE' | 'PROXYAUTH' | 'PROXYHEADER' | 'PROXYPASSWORD' | 'PROXYPORT' | 'PROXYTYPE' | 'PROXYUSERNAME' | 'PROXYUSERPWD' | 'PUT' | 'QUOTE' | 'RANDOM_FILE' | 'RANGE' | 'READDATA' | 'READFUNCTION' | 'REDIR_PROTOCOLS' | 'REDIR_PROTOCOLS_STR' | 'REFERER' | 'REQUEST_TARGET' | 'RESOLVE' | 'RESUME_FROM' | 'RESUME_FROM_LARGE' | 'RTSP_CLIENT_CSEQ' | 'RTSP_REQUEST' | 'RTSP_SERVER_CSEQ' | 'RTSP_SESSION_ID' | 'RTSP_STREAM_URI' | 'RTSP_TRANSPORT' | 'SASL_AUTHZID' | 'SASL_IR' | 'SEEKFUNCTION' | 'SERVER_RESPONSE_TIMEOUT' | 'SERVICE_NAME' | 'SHARE' | 'SOCKS5_AUTH' | 'SOCKS5_GSSAPI_NEC' | 'SOCKS5_GSSAPI_SERVICE' | 'SSH_AUTH_TYPES' | 'SSH_COMPRESSION' | 'SSH_HOST_PUBLIC_KEY_MD5' | 'SSH_HOSTKEYDATA' | 'SSH_KNOWNHOSTS' | 'SSH_PRIVATE_KEYFILE' | 'SSH_PUBLIC_KEYFILE' | 'SSL_CIPHER_LIST' | 'SSL_EC_CURVES' | 'SSL_ENABLE_ALPN' | 'SSL_ENABLE_NPN' | 'SSL_FALSESTART' | 'SSL_OPTIONS' | 'SSL_SESSIONID_CACHE' | 'SSL_VERIFYHOST' | 'SSL_VERIFYPEER' | 'SSL_VERIFYSTATUS' | 'SSLCERT' | 'SSLCERT_BLOB' | 'SSLCERTTYPE' | 'SSLENGINE' | 'SSLENGINE_DEFAULT' | 'SSLKEY' | 'SSLKEY_BLOB' | 'SSLKEYTYPE' | 'SSLVERSION' | 'SUPPRESS_CONNECT_HEADERS' | 'TCP_FASTOPEN' | 'TCP_KEEPALIVE' | 'TCP_KEEPIDLE' | 'TCP_KEEPINTVL' | 'TCP_NODELAY' | 'TELNETOPTIONS' | 'TFTP_BLKSIZE' | 'TFTP_NO_OPTIONS' | 'TIMECONDITION' | 'TIMEOUT' | 'TIMEOUT_MS' | 'TIMEVALUE' | 'TIMEVALUE_LARGE' | 'TLS13_CIPHERS' | 'TLSAUTH_PASSWORD' | 'TLSAUTH_TYPE' | 'TLSAUTH_USERNAME' | 'TRAILERFUNCTION' | 'TRANSFER_ENCODING' | 'TRANSFERTEXT' | 'UNIX_SOCKET_PATH' | 'UNRESTRICTED_AUTH' | 'UPKEEP_INTERVAL_MS' | 'UPLOAD' | 'UPLOAD_BUFFERSIZE' | 'URL' | 'USE_SSL' | 'USERAGENT' | 'USERNAME' | 'USERPWD' | 'VERBOSE' | 'WILDCARDMATCH' | 'WRITEFUNCTION' | 'XFERINFOFUNCTION' | 'XOAUTH2_BEARER';
Modifiers
@public
type CurlOptionValueType
type CurlOptionValueType = { /** * Path to an abstract Unix domain socket. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_ABSTRACT_UNIX_SOCKET.html](https://curl.haxx.se/libcurl/c/CURLOPT_ABSTRACT_UNIX_SOCKET.html) */ ABSTRACT_UNIX_SOCKET?: string | number | boolean | null; /** * Path to an abstract Unix domain socket. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_ABSTRACT_UNIX_SOCKET.html](https://curl.haxx.se/libcurl/c/CURLOPT_ABSTRACT_UNIX_SOCKET.html) */ abstractUnixSocket?: string | number | boolean | null; /** * Accept-Encoding and automatic decompressing data. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_ACCEPT_ENCODING.html](https://curl.haxx.se/libcurl/c/CURLOPT_ACCEPT_ENCODING.html) */ ACCEPT_ENCODING?: string | number | boolean | null; /** * Accept-Encoding and automatic decompressing data. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_ACCEPT_ENCODING.html](https://curl.haxx.se/libcurl/c/CURLOPT_ACCEPT_ENCODING.html) */ acceptEncoding?: string | number | boolean | null; /** * Timeout for waiting for the server's connect back to be accepted. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_ACCEPTTIMEOUT_MS.html](https://curl.haxx.se/libcurl/c/CURLOPT_ACCEPTTIMEOUT_MS.html) */ ACCEPTTIMEOUT_MS?: string | number | boolean | null; /** * Timeout for waiting for the server's connect back to be accepted. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_ACCEPTTIMEOUT_MS.html](https://curl.haxx.se/libcurl/c/CURLOPT_ACCEPTTIMEOUT_MS.html) */ acceptTimeoutMs?: string | number | boolean | null; /** * IPv6 scope for local addresses. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_ADDRESS_SCOPE.html](https://curl.haxx.se/libcurl/c/CURLOPT_ADDRESS_SCOPE.html) */ ADDRESS_SCOPE?: string | number | boolean | null; /** * IPv6 scope for local addresses. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_ADDRESS_SCOPE.html](https://curl.haxx.se/libcurl/c/CURLOPT_ADDRESS_SCOPE.html) */ addressScope?: string | number | boolean | null; /** * Specify the Alt-Svc: cache file name. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_ALTSVC.html](https://curl.haxx.se/libcurl/c/CURLOPT_ALTSVC.html) */ ALTSVC?: string | number | boolean | null; /** * Specify the Alt-Svc: cache file name. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_ALTSVC.html](https://curl.haxx.se/libcurl/c/CURLOPT_ALTSVC.html) */ altSvc?: string | number | boolean | null; /** * Enable and configure Alt-Svc: treatment. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_ALTSVC_CTRL.html](https://curl.haxx.se/libcurl/c/CURLOPT_ALTSVC_CTRL.html) */ ALTSVC_CTRL?: string | number | boolean | null; /** * Enable and configure Alt-Svc: treatment. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_ALTSVC_CTRL.html](https://curl.haxx.se/libcurl/c/CURLOPT_ALTSVC_CTRL.html) */ altSvcCtrl?: string | number | boolean | null; /** * Append to remote file. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_APPEND.html](https://curl.haxx.se/libcurl/c/CURLOPT_APPEND.html) */ APPEND?: string | number | boolean | null; /** * Append to remote file. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_APPEND.html](https://curl.haxx.se/libcurl/c/CURLOPT_APPEND.html) */ append?: string | number | boolean | null; /** * Automatically set Referer: header. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_AUTOREFERER.html](https://curl.haxx.se/libcurl/c/CURLOPT_AUTOREFERER.html) */ AUTOREFERER?: string | number | boolean | null; /** * Automatically set Referer: header. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_AUTOREFERER.html](https://curl.haxx.se/libcurl/c/CURLOPT_AUTOREFERER.html) */ autoReferer?: string | number | boolean | null; /** * AWS HTTP V4 Signature. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_AWS_SIGV4.html](https://curl.haxx.se/libcurl/c/CURLOPT_AWS_SIGV4.html) */ AWS_SIGV4?: string | number | boolean | null; /** * AWS HTTP V4 Signature. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_AWS_SIGV4.html](https://curl.haxx.se/libcurl/c/CURLOPT_AWS_SIGV4.html) */ awsSigV4?: string | number | boolean | null; /** * Ask for alternate buffer size. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_BUFFERSIZE.html](https://curl.haxx.se/libcurl/c/CURLOPT_BUFFERSIZE.html) */ BUFFERSIZE?: string | number | boolean | null; /** * Ask for alternate buffer size. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_BUFFERSIZE.html](https://curl.haxx.se/libcurl/c/CURLOPT_BUFFERSIZE.html) */ bufferSize?: string | number | boolean | null; /** * CA cert bundle. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_CAINFO.html](https://curl.haxx.se/libcurl/c/CURLOPT_CAINFO.html) */ CAINFO?: string | number | boolean | null; /** * CA cert bundle. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_CAINFO.html](https://curl.haxx.se/libcurl/c/CURLOPT_CAINFO.html) */ caInfo?: string | number | boolean | null; /** * CA cert bundle memory buffer. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_CAINFO_BLOB.html](https://curl.haxx.se/libcurl/c/CURLOPT_CAINFO_BLOB.html) */ CAINFO_BLOB?: ArrayBuffer | Buffer | string | null; /** * CA cert bundle memory buffer. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_CAINFO_BLOB.html](https://curl.haxx.se/libcurl/c/CURLOPT_CAINFO_BLOB.html) */ caInfoBlob?: ArrayBuffer | Buffer | string | null; /** * Path to CA cert bundle. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_CAPATH.html](https://curl.haxx.se/libcurl/c/CURLOPT_CAPATH.html) */ CAPATH?: string | number | boolean | null; /** * Path to CA cert bundle. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_CAPATH.html](https://curl.haxx.se/libcurl/c/CURLOPT_CAPATH.html) */ caPath?: string | number | boolean | null; /** * Extract certificate info. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_CERTINFO.html](https://curl.haxx.se/libcurl/c/CURLOPT_CERTINFO.html) */ CERTINFO?: string | number | boolean | null; /** * Extract certificate info. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_CERTINFO.html](https://curl.haxx.se/libcurl/c/CURLOPT_CERTINFO.html) */ certInfo?: string | number | boolean | null; /** * Callback for wildcard download start of chunk. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_CHUNK_BGN_FUNCTION.html](https://curl.haxx.se/libcurl/c/CURLOPT_CHUNK_BGN_FUNCTION.html) */ CHUNK_BGN_FUNCTION?: | (( this: EasyNativeBinding, fileInfo: FileInfo, remains: number ) => CurlChunk) | null; /** * Callback for wildcard download start of chunk. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_CHUNK_BGN_FUNCTION.html](https://curl.haxx.se/libcurl/c/CURLOPT_CHUNK_BGN_FUNCTION.html) */ chunkBgnFunction?: | (( this: EasyNativeBinding, fileInfo: FileInfo, remains: number ) => CurlChunk) | null; /** * Callback for wildcard download end of chunk. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_CHUNK_END_FUNCTION.html](https://curl.haxx.se/libcurl/c/CURLOPT_CHUNK_END_FUNCTION.html) */ CHUNK_END_FUNCTION?: ((this: EasyNativeBinding) => CurlChunk) | null; /** * Callback for wildcard download end of chunk. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_CHUNK_END_FUNCTION.html](https://curl.haxx.se/libcurl/c/CURLOPT_CHUNK_END_FUNCTION.html) */ chunkEndFunction?: ((this: EasyNativeBinding) => CurlChunk) | null; /** * Only connect, nothing else. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_CONNECT_ONLY.html](https://curl.haxx.se/libcurl/c/CURLOPT_CONNECT_ONLY.html) */ CONNECT_ONLY?: string | number | boolean | null; /** * Only connect, nothing else. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_CONNECT_ONLY.html](https://curl.haxx.se/libcurl/c/CURLOPT_CONNECT_ONLY.html) */ connectOnly?: string | number | boolean | null; /** * Connect to a specific host and port. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_CONNECT_TO.html](https://curl.haxx.se/libcurl/c/CURLOPT_CONNECT_TO.html) */ CONNECT_TO?: string[] | null; /** * Connect to a specific host and port. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_CONNECT_TO.html](https://curl.haxx.se/libcurl/c/CURLOPT_CONNECT_TO.html) */ connectTo?: string[] | null; /** * Timeout for the connection phase. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_CONNECTTIMEOUT.html](https://curl.haxx.se/libcurl/c/CURLOPT_CONNECTTIMEOUT.html) */ CONNECTTIMEOUT?: string | number | boolean | null; /** * Timeout for the connection phase. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_CONNECTTIMEOUT.html](https://curl.haxx.se/libcurl/c/CURLOPT_CONNECTTIMEOUT.html) */ connectTimeout?: string | number | boolean | null; /** * Millisecond timeout for the connection phase. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_CONNECTTIMEOUT_MS.html](https://curl.haxx.se/libcurl/c/CURLOPT_CONNECTTIMEOUT_MS.html) */ CONNECTTIMEOUT_MS?: string | number | boolean | null; /** * Millisecond timeout for the connection phase. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_CONNECTTIMEOUT_MS.html](https://curl.haxx.se/libcurl/c/CURLOPT_CONNECTTIMEOUT_MS.html) */ connectTimeoutMs?: string | number | boolean | null; /** * Cookie(s) to send. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_COOKIE.html](https://curl.haxx.se/libcurl/c/CURLOPT_COOKIE.html) */ COOKIE?: string | number | boolean | null; /** * Cookie(s) to send. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_COOKIE.html](https://curl.haxx.se/libcurl/c/CURLOPT_COOKIE.html) */ cookie?: string | number | boolean | null; /** * File to read cookies from. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_COOKIEFILE.html](https://curl.haxx.se/libcurl/c/CURLOPT_COOKIEFILE.html) */ COOKIEFILE?: string | number | boolean | null; /** * File to read cookies from. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_COOKIEFILE.html](https://curl.haxx.se/libcurl/c/CURLOPT_COOKIEFILE.html) */ cookieFile?: string | number | boolean | null; /** * File to write cookies to. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_COOKIEJAR.html](https://curl.haxx.se/libcurl/c/CURLOPT_COOKIEJAR.html) */ COOKIEJAR?: string | number | boolean | null; /** * File to write cookies to. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_COOKIEJAR.html](https://curl.haxx.se/libcurl/c/CURLOPT_COOKIEJAR.html) */ cookieJar?: string | number | boolean | null; /** * Add or control cookies. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_COOKIELIST.html](https://curl.haxx.se/libcurl/c/CURLOPT_COOKIELIST.html) */ COOKIELIST?: string | number | boolean | null; /** * Add or control cookies. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_COOKIELIST.html](https://curl.haxx.se/libcurl/c/CURLOPT_COOKIELIST.html) */ cookieList?: string | number | boolean | null; /** * Start a new cookie session. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_COOKIESESSION.html](https://curl.haxx.se/libcurl/c/CURLOPT_COOKIESESSION.html) */ COOKIESESSION?: string | number | boolean | null; /** * Start a new cookie session. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_COOKIESESSION.html](https://curl.haxx.se/libcurl/c/CURLOPT_COOKIESESSION.html) */ cookieSession?: string | number | boolean | null; /** * Convert newlines. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_CRLF.html](https://curl.haxx.se/libcurl/c/CURLOPT_CRLF.html) */ CRLF?: string | number | boolean | null; /** * Convert newlines. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_CRLF.html](https://curl.haxx.se/libcurl/c/CURLOPT_CRLF.html) */ crlf?: string | number | boolean | null; /** * Certificate Revocation List. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_CRLFILE.html](https://curl.haxx.se/libcurl/c/CURLOPT_CRLFILE.html) */ CRLFILE?: string | number | boolean | null; /** * Certificate Revocation List. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_CRLFILE.html](https://curl.haxx.se/libcurl/c/CURLOPT_CRLFILE.html) */ crlFile?: string | number | boolean | null; /** * Custom request/method. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_CUSTOMREQUEST.html](https://curl.haxx.se/libcurl/c/CURLOPT_CUSTOMREQUEST.html) */ CUSTOMREQUEST?: string | number | boolean | null; /** * Custom request/method. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_CUSTOMREQUEST.html](https://curl.haxx.se/libcurl/c/CURLOPT_CUSTOMREQUEST.html) */ customRequest?: string | number | boolean | null; /** * Callback for debug information. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_DEBUGFUNCTION.html](https://curl.haxx.se/libcurl/c/CURLOPT_DEBUGFUNCTION.html) */ DEBUGFUNCTION?: | ((this: EasyNativeBinding, type: CurlInfoDebug, data: Buffer) => 0) | null; /** * Callback for debug information. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_DEBUGFUNCTION.html](https://curl.haxx.se/libcurl/c/CURLOPT_DEBUGFUNCTION.html) */ debugFunction?: | ((this: EasyNativeBinding, type: CurlInfoDebug, data: Buffer) => 0) | null; /** * Default protocol. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_DEFAULT_PROTOCOL.html](https://curl.haxx.se/libcurl/c/CURLOPT_DEFAULT_PROTOCOL.html) */ DEFAULT_PROTOCOL?: string | number | boolean | null; /** * Default protocol. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_DEFAULT_PROTOCOL.html](https://curl.haxx.se/libcurl/c/CURLOPT_DEFAULT_PROTOCOL.html) */ defaultProtocol?: string | number | boolean | null; /** * List only. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_DIRLISTONLY.html](https://curl.haxx.se/libcurl/c/CURLOPT_DIRLISTONLY.html) */ DIRLISTONLY?: string | number | boolean | null; /** * List only. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_DIRLISTONLY.html](https://curl.haxx.se/libcurl/c/CURLOPT_DIRLISTONLY.html) */ dirListOnly?: string | number | boolean | null; /** * Do not allow username in URL. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_DISALLOW_USERNAME_IN_URL.html](https://curl.haxx.se/libcurl/c/CURLOPT_DISALLOW_USERNAME_IN_URL.html) */ DISALLOW_USERNAME_IN_URL?: string | number | boolean | null; /** * Do not allow username in URL. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_DISALLOW_USERNAME_IN_URL.html](https://curl.haxx.se/libcurl/c/CURLOPT_DISALLOW_USERNAME_IN_URL.html) */ disallowUsernameInUrl?: string | number | boolean | null; /** * Timeout for DNS cache. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_DNS_CACHE_TIMEOUT.html](https://curl.haxx.se/libcurl/c/CURLOPT_DNS_CACHE_TIMEOUT.html) */ DNS_CACHE_TIMEOUT?: string | number | boolean | null; /** * Timeout for DNS cache. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_DNS_CACHE_TIMEOUT.html](https://curl.haxx.se/libcurl/c/CURLOPT_DNS_CACHE_TIMEOUT.html) */ dnsCacheTimeout?: string | number | boolean | null; /** * Bind name resolves to this interface. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_DNS_INTERFACE.html](https://curl.haxx.se/libcurl/c/CURLOPT_DNS_INTERFACE.html) */ DNS_INTERFACE?: string | number | boolean | null; /** * Bind name resolves to this interface. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_DNS_INTERFACE.html](https://curl.haxx.se/libcurl/c/CURLOPT_DNS_INTERFACE.html) */ dnsInterface?: string | number | boolean | null; /** * Bind name resolves to this IP4 address. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_DNS_LOCAL_IP4.html](https://curl.haxx.se/libcurl/c/CURLOPT_DNS_LOCAL_IP4.html) */ DNS_LOCAL_IP4?: string | number | boolean | null; /** * Bind name resolves to this IP4 address. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_DNS_LOCAL_IP4.html](https://curl.haxx.se/libcurl/c/CURLOPT_DNS_LOCAL_IP4.html) */ dnsLocalIp4?: string | number | boolean | null; /** * Bind name resolves to this IP6 address. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_DNS_LOCAL_IP6.html](https://curl.haxx.se/libcurl/c/CURLOPT_DNS_LOCAL_IP6.html) */ DNS_LOCAL_IP6?: string | number | boolean | null; /** * Bind name resolves to this IP6 address. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_DNS_LOCAL_IP6.html](https://curl.haxx.se/libcurl/c/CURLOPT_DNS_LOCAL_IP6.html) */ dnsLocalIp6?: string | number | boolean | null; /** * Preferred DNS servers. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_DNS_SERVERS.html](https://curl.haxx.se/libcurl/c/CURLOPT_DNS_SERVERS.html) */ DNS_SERVERS?: string | number | boolean | null; /** * Preferred DNS servers. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_DNS_SERVERS.html](https://curl.haxx.se/libcurl/c/CURLOPT_DNS_SERVERS.html) */ dnsServers?: string | number | boolean | null; /** * Shuffle addresses before use. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_DNS_SHUFFLE_ADDRESSES.html](https://curl.haxx.se/libcurl/c/CURLOPT_DNS_SHUFFLE_ADDRESSES.html) */ DNS_SHUFFLE_ADDRESSES?: string | number | boolean | null; /** * Shuffle addresses before use. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_DNS_SHUFFLE_ADDRESSES.html](https://curl.haxx.se/libcurl/c/CURLOPT_DNS_SHUFFLE_ADDRESSES.html) */ dnsShuffleAddresses?: string | number | boolean | null; /** * OBSOLETE Enable global DNS cache. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_DNS_USE_GLOBAL_CACHE.html](https://curl.haxx.se/libcurl/c/CURLOPT_DNS_USE_GLOBAL_CACHE.html) */ DNS_USE_GLOBAL_CACHE?: string | number | boolean | null; /** * OBSOLETE Enable global DNS cache. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_DNS_USE_GLOBAL_CACHE.html](https://curl.haxx.se/libcurl/c/CURLOPT_DNS_USE_GLOBAL_CACHE.html) */ dnsUseGlobalCache?: string | number | boolean | null; /** * Verify the host name in the DoH (DNS-over-HTTPS) SSL certificate. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_DOH_SSL_VERIFYHOST.html](https://curl.haxx.se/libcurl/c/CURLOPT_DOH_SSL_VERIFYHOST.html) */ DOH_SSL_VERIFYHOST?: string | number | boolean | null; /** * Verify the host name in the DoH (DNS-over-HTTPS) SSL certificate. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_DOH_SSL_VERIFYHOST.html](https://curl.haxx.se/libcurl/c/CURLOPT_DOH_SSL_VERIFYHOST.html) */ dohSslVerifyHost?: string | number | boolean | null; /** * Verify the DoH (DNS-over-HTTPS) SSL certificate. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_DOH_SSL_VERIFYPEER.html](https://curl.haxx.se/libcurl/c/CURLOPT_DOH_SSL_VERIFYPEER.html) */ DOH_SSL_VERIFYPEER?: string | number | boolean | null; /** * Verify the DoH (DNS-over-HTTPS) SSL certificate. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_DOH_SSL_VERIFYPEER.html](https://curl.haxx.se/libcurl/c/CURLOPT_DOH_SSL_VERIFYPEER.html) */ dohSslVerifyPeer?: string | number | boolean | null; /** * Verify the DoH (DNS-over-HTTPS) SSL certificate's status. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_DOH_SSL_VERIFYSTATUS.html](https://curl.haxx.se/libcurl/c/CURLOPT_DOH_SSL_VERIFYSTATUS.html) */ DOH_SSL_VERIFYSTATUS?: string | number | boolean | null; /** * Verify the DoH (DNS-over-HTTPS) SSL certificate's status. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_DOH_SSL_VERIFYSTATUS.html](https://curl.haxx.se/libcurl/c/CURLOPT_DOH_SSL_VERIFYSTATUS.html) */ dohSslVerifyStatus?: string | number | boolean | null; /** * Use this DoH server for name resolves. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_DOH_URL.html](https://curl.haxx.se/libcurl/c/CURLOPT_DOH_URL.html) */ DOH_URL?: string | number | boolean | null; /** * Use this DoH server for name resolves. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_DOH_URL.html](https://curl.haxx.se/libcurl/c/CURLOPT_DOH_URL.html) */ dohUrl?: string | number | boolean | null; /** * OBSOLETE Identify EGD socket for entropy. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_EGDSOCKET.html](https://curl.haxx.se/libcurl/c/CURLOPT_EGDSOCKET.html) */ EGDSOCKET?: string | number | boolean | null; /** * OBSOLETE Identify EGD socket for entropy. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_EGDSOCKET.html](https://curl.haxx.se/libcurl/c/CURLOPT_EGDSOCKET.html) */ egdSocket?: string | number | boolean | null; /** * 100-continue timeout. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_EXPECT_100_TIMEOUT_MS.html](https://curl.haxx.se/libcurl/c/CURLOPT_EXPECT_100_TIMEOUT_MS.html) */ EXPECT_100_TIMEOUT_MS?: string | number | boolean | null; /** * 100-continue timeout. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_EXPECT_100_TIMEOUT_MS.html](https://curl.haxx.se/libcurl/c/CURLOPT_EXPECT_100_TIMEOUT_MS.html) */ expect100TimeoutMs?: string | number | boolean | null; /** * Fail on HTTP 4xx errors. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_FAILONERROR.html](https://curl.haxx.se/libcurl/c/CURLOPT_FAILONERROR.html) */ FAILONERROR?: string | number | boolean | null; /** * Fail on HTTP 4xx errors. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_FAILONERROR.html](https://curl.haxx.se/libcurl/c/CURLOPT_FAILONERROR.html) */ failOnError?: string | number | boolean | null; /** * Request file modification date and time. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_FILETIME.html](https://curl.haxx.se/libcurl/c/CURLOPT_FILETIME.html) */ FILETIME?: string | number | boolean | null; /** * Request file modification date and time. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_FILETIME.html](https://curl.haxx.se/libcurl/c/CURLOPT_FILETIME.html) */ fileTime?: string | number | boolean | null; /** * Callback for wildcard matching. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_FNMATCH_FUNCTION.html](https://curl.haxx.se/libcurl/c/CURLOPT_FNMATCH_FUNCTION.html) */ FNMATCH_FUNCTION?: | (( this: EasyNativeBinding, pattern: string, value: string ) => CurlFnMatchFunc) | null; /** * Callback for wildcard matching. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_FNMATCH_FUNCTION.html](https://curl.haxx.se/libcurl/c/CURLOPT_FNMATCH_FUNCTION.html) */ fnMatchFunction?: | (( this: EasyNativeBinding, pattern: string, value: string ) => CurlFnMatchFunc) | null; /** * Follow HTTP redirects. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_FOLLOWLOCATION.html](https://curl.haxx.se/libcurl/c/CURLOPT_FOLLOWLOCATION.html) */ FOLLOWLOCATION?: string | number | boolean | null; /** * Follow HTTP redirects. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_FOLLOWLOCATION.html](https://curl.haxx.se/libcurl/c/CURLOPT_FOLLOWLOCATION.html) */ followLocation?: string | number | boolean | null; /** * Prevent subsequent connections from re-using this. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_FORBID_REUSE.html](https://curl.haxx.se/libcurl/c/CURLOPT_FORBID_REUSE.html) */ FORBID_REUSE?: string | number | boolean | null; /** * Prevent subsequent connections from re-using this. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_FORBID_REUSE.html](https://curl.haxx.se/libcurl/c/CURLOPT_FORBID_REUSE.html) */ forbIdReuse?: string | number | boolean | null; /** * Use a new connection. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_FRESH_CONNECT.html](https://curl.haxx.se/libcurl/c/CURLOPT_FRESH_CONNECT.html) */ FRESH_CONNECT?: string | number | boolean | null; /** * Use a new connection. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_FRESH_CONNECT.html](https://curl.haxx.se/libcurl/c/CURLOPT_FRESH_CONNECT.html) */ freshConnect?: string | number | boolean | null; /** * Send ACCT command. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_FTP_ACCOUNT.html](https://curl.haxx.se/libcurl/c/CURLOPT_FTP_ACCOUNT.html) */ FTP_ACCOUNT?: string | number | boolean | null; /** * Send ACCT command. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_FTP_ACCOUNT.html](https://curl.haxx.se/libcurl/c/CURLOPT_FTP_ACCOUNT.html) */ ftpAccount?: string | number | boolean | null; /** * Alternative to USER. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_FTP_ALTERNATIVE_TO_USER.html](https://curl.haxx.se/libcurl/c/CURLOPT_FTP_ALTERNATIVE_TO_USER.html) */ FTP_ALTERNATIVE_TO_USER?: string | number | boolean | null; /** * Alternative to USER. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_FTP_ALTERNATIVE_TO_USER.html](https://curl.haxx.se/libcurl/c/CURLOPT_FTP_ALTERNATIVE_TO_USER.html) */ ftpAlternativeToUser?: string | number | boolean | null; /** * Create missing directories on the remote server. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_FTP_CREATE_MISSING_DIRS.html](https://curl.haxx.se/libcurl/c/CURLOPT_FTP_CREATE_MISSING_DIRS.html) */ FTP_CREATE_MISSING_DIRS?: string | number | boolean | null; /** * Create missing directories on the remote server. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_FTP_CREATE_MISSING_DIRS.html](https://curl.haxx.se/libcurl/c/CURLOPT_FTP_CREATE_MISSING_DIRS.html) */ ftpCreateMissingDirs?: string | number | boolean | null; /** * Specify how to reach files. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_FTP_FILEMETHOD.html](https://curl.haxx.se/libcurl/c/CURLOPT_FTP_FILEMETHOD.html) */ FTP_FILEMETHOD?: CurlFtpMethod | null; /** * Specify how to reach files. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_FTP_FILEMETHOD.html](https://curl.haxx.se/libcurl/c/CURLOPT_FTP_FILEMETHOD.html) */ ftpFileMethod?: CurlFtpMethod | null; /** * Ignore the IP address in the PASV response. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_FTP_SKIP_PASV_IP.html](https://curl.haxx.se/libcurl/c/CURLOPT_FTP_SKIP_PASV_IP.html) */ FTP_SKIP_PASV_IP?: string | number | boolean | null; /** * Ignore the IP address in the PASV response. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_FTP_SKIP_PASV_IP.html](https://curl.haxx.se/libcurl/c/CURLOPT_FTP_SKIP_PASV_IP.html) */ ftpSkipPasvIp?: string | number | boolean | null; /** * Back to non-TLS again after authentication. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_FTP_SSL_CCC.html](https://curl.haxx.se/libcurl/c/CURLOPT_FTP_SSL_CCC.html) */ FTP_SSL_CCC?: CurlFtpSsl | null; /** * Back to non-TLS again after authentication. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_FTP_SSL_CCC.html](https://curl.haxx.se/libcurl/c/CURLOPT_FTP_SSL_CCC.html) */ ftpSslCcc?: CurlFtpSsl | null; /** * Use EPRT. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_FTP_USE_EPRT.html](https://curl.haxx.se/libcurl/c/CURLOPT_FTP_USE_EPRT.html) */ FTP_USE_EPRT?: string | number | boolean | null; /** * Use EPRT. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_FTP_USE_EPRT.html](https://curl.haxx.se/libcurl/c/CURLOPT_FTP_USE_EPRT.html) */ ftpUseEprt?: string | number | boolean | null; /** * Use EPSV. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_FTP_USE_EPSV.html](https://curl.haxx.se/libcurl/c/CURLOPT_FTP_USE_EPSV.html) */ FTP_USE_EPSV?: string | number | boolean | null; /** * Use EPSV. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_FTP_USE_EPSV.html](https://curl.haxx.se/libcurl/c/CURLOPT_FTP_USE_EPSV.html) */ ftpUseEpsv?: string | number | boolean | null; /** * Use PRET. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_FTP_USE_PRET.html](https://curl.haxx.se/libcurl/c/CURLOPT_FTP_USE_PRET.html) */ FTP_USE_PRET?: string | number | boolean | null; /** * Use PRET. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_FTP_USE_PRET.html](https://curl.haxx.se/libcurl/c/CURLOPT_FTP_USE_PRET.html) */ ftpUsePret?: string | number | boolean | null; /** * Use active FTP. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_FTPPORT.html](https://curl.haxx.se/libcurl/c/CURLOPT_FTPPORT.html) */ FTPPORT?: string | number | boolean | null; /** * Use active FTP. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_FTPPORT.html](https://curl.haxx.se/libcurl/c/CURLOPT_FTPPORT.html) */ ftpPort?: string | number | boolean | null; /** * Control how to do TLS. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_FTPSSLAUTH.html](https://curl.haxx.se/libcurl/c/CURLOPT_FTPSSLAUTH.html) */ FTPSSLAUTH?: string | number | boolean | null; /** * Control how to do TLS. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_FTPSSLAUTH.html](https://curl.haxx.se/libcurl/c/CURLOPT_FTPSSLAUTH.html) */ ftpSslAuth?: string | number | boolean | null; /** * Disable GSS-API delegation. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_GSSAPI_DELEGATION.html](https://curl.haxx.se/libcurl/c/CURLOPT_GSSAPI_DELEGATION.html) */ GSSAPI_DELEGATION?: CurlGssApi | null; /** * Disable GSS-API delegation. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_GSSAPI_DELEGATION.html](https://curl.haxx.se/libcurl/c/CURLOPT_GSSAPI_DELEGATION.html) */ gssapiDelegation?: CurlGssApi | null; /** * Timeout for happy eyeballs. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_HAPPY_EYEBALLS_TIMEOUT_MS.html](https://curl.haxx.se/libcurl/c/CURLOPT_HAPPY_EYEBALLS_TIMEOUT_MS.html) */ HAPPY_EYEBALLS_TIMEOUT_MS?: string | number | boolean | null; /** * Timeout for happy eyeballs. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_HAPPY_EYEBALLS_TIMEOUT_MS.html](https://curl.haxx.se/libcurl/c/CURLOPT_HAPPY_EYEBALLS_TIMEOUT_MS.html) */ happyEyeballsTimeoutMs?: string | number | boolean | null; /** * Send an HAProxy PROXY protocol v1 header. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_HAPROXYPROTOCOL.html](https://curl.haxx.se/libcurl/c/CURLOPT_HAPROXYPROTOCOL.html) */ HAPROXYPROTOCOL?: string | number | boolean | null; /** * Send an HAProxy PROXY protocol v1 header. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_HAPROXYPROTOCOL.html](https://curl.haxx.se/libcurl/c/CURLOPT_HAPROXYPROTOCOL.html) */ haProxyProtocol?: string | number | boolean | null; /** * Include the header in the body output. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_HEADER.html](https://curl.haxx.se/libcurl/c/CURLOPT_HEADER.html) */ HEADER?: string | number | boolean | null; /** * Include the header in the body output. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_HEADER.html](https://curl.haxx.se/libcurl/c/CURLOPT_HEADER.html) */ header?: string | number | boolean | null; /** * Callback for writing received headers. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_HEADERFUNCTION.html](https://curl.haxx.se/libcurl/c/CURLOPT_HEADERFUNCTION.html) */ HEADERFUNCTION?: | (( this: EasyNativeBinding, data: Buffer, size: number, nmemb: number ) => number) | null; /** * Callback for writing received headers. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_HEADERFUNCTION.html](https://curl.haxx.se/libcurl/c/CURLOPT_HEADERFUNCTION.html) */ headerFunction?: | (( this: EasyNativeBinding, data: Buffer, size: number, nmemb: number ) => number) | null; /** * Control custom headers. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_HEADEROPT.html](https://curl.haxx.se/libcurl/c/CURLOPT_HEADEROPT.html) */ HEADEROPT?: CurlHeader | null; /** * Control custom headers. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_HEADEROPT.html](https://curl.haxx.se/libcurl/c/CURLOPT_HEADEROPT.html) */ headerOpt?: CurlHeader | null; /** * Set HSTS cache file. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_HSTS.html](https://curl.haxx.se/libcurl/c/CURLOPT_HSTS.html) */ HSTS?: string | number | boolean | null; /** * Set HSTS cache file. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_HSTS.html](https://curl.haxx.se/libcurl/c/CURLOPT_HSTS.html) */ hsts?: string | number | boolean | null; /** * Enable HSTS. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_HSTS_CTRL.html](https://curl.haxx.se/libcurl/c/CURLOPT_HSTS_CTRL.html) */ HSTS_CTRL?: CurlHsts | null; /** * Enable HSTS. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_HSTS_CTRL.html](https://curl.haxx.se/libcurl/c/CURLOPT_HSTS_CTRL.html) */ hstsCtrl?: CurlHsts | null; /** * Set HSTS read callback. * * You can either return a single `CurlHstsReadCallbackResult` object or an array of `CurlHstsReadCallbackResult` objects. * If returning an array, the callback will only be called once per request. * If returning a single object, the callback will be called multiple times until `null` is returned. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_HSTSREADFUNCTION.html](https://curl.haxx.se/libcurl/c/CURLOPT_HSTSREADFUNCTION.html) */ HSTSREADFUNCTION?: | (( this: EasyNativeBinding ) => null | CurlHstsCacheEntry | CurlHstsCacheEntry[]) | null; /** * Set HSTS read callback. * * You can either return a single `CurlHstsReadCallbackResult` object or an array of `CurlHstsReadCallbackResult` objects. * If returning an array, the callback will only be called once per request. * If returning a single object, the callback will be called multiple times until `null` is returned. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_HSTSREADFUNCTION.html](https://curl.haxx.se/libcurl/c/CURLOPT_HSTSREADFUNCTION.html) */ hstsReadFunction?: | (( this: EasyNativeBinding ) => null | CurlHstsCacheEntry | CurlHstsCacheEntry[]) | null; /** * Set HSTS write callback. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_HSTSWRITEFUNCTION.html](https://curl.haxx.se/libcurl/c/CURLOPT_HSTSWRITEFUNCTION.html) */ HSTSWRITEFUNCTION?: | (( this: EasyNativeBinding, cacheEntry: CurlHstsCacheEntry, cacheCount: CurlHstsCacheCount ) => any) | null; /** * Set HSTS write callback. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_HSTSWRITEFUNCTION.html](https://curl.haxx.se/libcurl/c/CURLOPT_HSTSWRITEFUNCTION.html) */ hstsWriteFunction?: | (( this: EasyNativeBinding, cacheEntry: CurlHstsCacheEntry, cacheCount: CurlHstsCacheCount ) => any) | null; /** * Disable Content decoding. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_HTTP_CONTENT_DECODING.html](https://curl.haxx.se/libcurl/c/CURLOPT_HTTP_CONTENT_DECODING.html) */ HTTP_CONTENT_DECODING?: string | number | boolean | null; /** * Disable Content decoding. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_HTTP_CONTENT_DECODING.html](https://curl.haxx.se/libcurl/c/CURLOPT_HTTP_CONTENT_DECODING.html) */ httpContentDecoding?: string | number | boolean | null; /** * Disable Transfer decoding. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_HTTP_TRANSFER_DECODING.html](https://curl.haxx.se/libcurl/c/CURLOPT_HTTP_TRANSFER_DECODING.html) */ HTTP_TRANSFER_DECODING?: string | number | boolean | null; /** * Disable Transfer decoding. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_HTTP_TRANSFER_DECODING.html](https://curl.haxx.se/libcurl/c/CURLOPT_HTTP_TRANSFER_DECODING.html) */ httpTransferDecoding?: string | number | boolean | null; /** * HTTP version to use. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_HTTP_VERSION.html](https://curl.haxx.se/libcurl/c/CURLOPT_HTTP_VERSION.html) */ HTTP_VERSION?: CurlHttpVersion | null; /** * HTTP version to use. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_HTTP_VERSION.html](https://curl.haxx.se/libcurl/c/CURLOPT_HTTP_VERSION.html) */ httpVersion?: CurlHttpVersion | null; /** * Allow HTTP/0.9 responses. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_HTTP09_ALLOWED.html](https://curl.haxx.se/libcurl/c/CURLOPT_HTTP09_ALLOWED.html) */ HTTP09_ALLOWED?: string | number | boolean | null; /** * Allow HTTP/0.9 responses. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_HTTP09_ALLOWED.html](https://curl.haxx.se/libcurl/c/CURLOPT_HTTP09_ALLOWED.html) */ http09Allowed?: string | number | boolean | null; /** * Alternative versions of 200 OK. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_HTTP200ALIASES.html](https://curl.haxx.se/libcurl/c/CURLOPT_HTTP200ALIASES.html) */ HTTP200ALIASES?: string[] | null; /** * Alternative versions of 200 OK. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_HTTP200ALIASES.html](https://curl.haxx.se/libcurl/c/CURLOPT_HTTP200ALIASES.html) */ http200aliases?: string[] | null; /** * HTTP server authentication methods. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_HTTPAUTH.html](https://curl.haxx.se/libcurl/c/CURLOPT_HTTPAUTH.html) */ HTTPAUTH?: string | number | boolean | null; /** * HTTP server authentication methods. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_HTTPAUTH.html](https://curl.haxx.se/libcurl/c/CURLOPT_HTTPAUTH.html) */ httpAuth?: string | number | boolean | null; /** * Do an HTTP GET request. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_HTTPGET.html](https://curl.haxx.se/libcurl/c/CURLOPT_HTTPGET.html) */ HTTPGET?: string | number | boolean | null; /** * Do an HTTP GET request. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_HTTPGET.html](https://curl.haxx.se/libcurl/c/CURLOPT_HTTPGET.html) */ httpGet?: string | number | boolean | null; /** * Custom HTTP headers. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_HTTPHEADER.html](https://curl.haxx.se/libcurl/c/CURLOPT_HTTPHEADER.html) */ HTTPHEADER?: string[] | null; /** * Custom HTTP headers. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_HTTPHEADER.html](https://curl.haxx.se/libcurl/c/CURLOPT_HTTPHEADER.html) */ httpHeader?: string[] | null; /** * Deprecated option Multipart formpost HTTP POST. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_HTTPPOST.html](https://curl.haxx.se/libcurl/c/CURLOPT_HTTPPOST.html) */ HTTPPOST?: HttpPostField[] | null; /** * Deprecated option Multipart formpost HTTP POST. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_HTTPPOST.html](https://curl.haxx.se/libcurl/c/CURLOPT_HTTPPOST.html) */ httpPost?: HttpPostField[] | null; /** * Tunnel through the HTTP proxy. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_HTTPPROXYTUNNEL.html](https://curl.haxx.se/libcurl/c/CURLOPT_HTTPPROXYTUNNEL.html) */ HTTPPROXYTUNNEL?: string | number | boolean | null; /** * Tunnel through the HTTP proxy. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_HTTPPROXYTUNNEL.html](https://curl.haxx.se/libcurl/c/CURLOPT_HTTPPROXYTUNNEL.html) */ httpProxyTunnel?: string | number | boolean | null; /** * Ignore Content-Length. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_IGNORE_CONTENT_LENGTH.html](https://curl.haxx.se/libcurl/c/CURLOPT_IGNORE_CONTENT_LENGTH.html) */ IGNORE_CONTENT_LENGTH?: string | number | boolean | null; /** * Ignore Content-Length. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_IGNORE_CONTENT_LENGTH.html](https://curl.haxx.se/libcurl/c/CURLOPT_IGNORE_CONTENT_LENGTH.html) */ ignoreContentLength?: string | number | boolean | null; /** * Size of file to send. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_INFILESIZE.html](https://curl.haxx.se/libcurl/c/CURLOPT_INFILESIZE.html) */ INFILESIZE?: string | number | boolean | null; /** * Size of file to send. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_INFILESIZE.html](https://curl.haxx.se/libcurl/c/CURLOPT_INFILESIZE.html) */ inFileSize?: string | number | boolean | null; /** * Size of file to send. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_INFILESIZE_LARGE.html](https://curl.haxx.se/libcurl/c/CURLOPT_INFILESIZE_LARGE.html) */ INFILESIZE_LARGE?: string | number | boolean | null; /** * Size of file to send. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_INFILESIZE_LARGE.html](https://curl.haxx.se/libcurl/c/CURLOPT_INFILESIZE_LARGE.html) */ inFileSizeLarge?: string | number | boolean | null; /** * Bind connection locally to this. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_INTERFACE.html](https://curl.haxx.se/libcurl/c/CURLOPT_INTERFACE.html) */ INTERFACE?: string | number | boolean | null; /** * Bind connection locally to this. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_INTERFACE.html](https://curl.haxx.se/libcurl/c/CURLOPT_INTERFACE.html) */ interface?: string | number | boolean | null; /** * IP version to use. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_IPRESOLVE.html](https://curl.haxx.se/libcurl/c/CURLOPT_IPRESOLVE.html) */ IPRESOLVE?: CurlIpResolve | null; /** * IP version to use. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_IPRESOLVE.html](https://curl.haxx.se/libcurl/c/CURLOPT_IPRESOLVE.html) */ ipResolve?: CurlIpResolve | null; /** * Issuer certificate. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_ISSUERCERT.html](https://curl.haxx.se/libcurl/c/CURLOPT_ISSUERCERT.html) */ ISSUERCERT?: string | number | boolean | null; /** * Issuer certificate. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_ISSUERCERT.html](https://curl.haxx.se/libcurl/c/CURLOPT_ISSUERCERT.html) */ issuerCert?: string | number | boolean | null; /** * Issuer certificate memory buffer. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_ISSUERCERT_BLOB.html](https://curl.haxx.se/libcurl/c/CURLOPT_ISSUERCERT_BLOB.html) */ ISSUERCERT_BLOB?: ArrayBuffer | Buffer | string | null; /** * Issuer certificate memory buffer. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_ISSUERCERT_BLOB.html](https://curl.haxx.se/libcurl/c/CURLOPT_ISSUERCERT_BLOB.html) */ issuerCertBlob?: ArrayBuffer | Buffer | string | null; /** * Keep sending on HTTP \>= 300 errors. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_KEEP_SENDING_ON_ERROR.html](https://curl.haxx.se/libcurl/c/CURLOPT_KEEP_SENDING_ON_ERROR.html) */ KEEP_SENDING_ON_ERROR?: string | number | boolean | null; /** * Keep sending on HTTP \>= 300 errors. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_KEEP_SENDING_ON_ERROR.html](https://curl.haxx.se/libcurl/c/CURLOPT_KEEP_SENDING_ON_ERROR.html) */ keepSendingOnError?: string | number | boolean | null; /** * Client key password. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_KEYPASSWD.html](https://curl.haxx.se/libcurl/c/CURLOPT_KEYPASSWD.html) */ KEYPASSWD?: string | number | boolean | null; /** * Client key password. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_KEYPASSWD.html](https://curl.haxx.se/libcurl/c/CURLOPT_KEYPASSWD.html) */ keyPasswd?: string | number | boolean | null; /** * Kerberos security level. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_KRBLEVEL.html](https://curl.haxx.se/libcurl/c/CURLOPT_KRBLEVEL.html) */ KRBLEVEL?: string | number | boolean | null; /** * Kerberos security level. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_KRBLEVEL.html](https://curl.haxx.se/libcurl/c/CURLOPT_KRBLEVEL.html) */ krbLevel?: string | number | boolean | null; /** * Bind connection locally to this port. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_LOCALPORT.html](https://curl.haxx.se/libcurl/c/CURLOPT_LOCALPORT.html) */ LOCALPORT?: string | number | boolean | null; /** * Bind connection locally to this port. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_LOCALPORT.html](https://curl.haxx.se/libcurl/c/CURLOPT_LOCALPORT.html) */ localPort?: string | number | boolean | null; /** * Bind connection locally to port range. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_LOCALPORTRANGE.html](https://curl.haxx.se/libcurl/c/CURLOPT_LOCALPORTRANGE.html) */ LOCALPORTRANGE?: string | number | boolean | null; /** * Bind connection locally to port range. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_LOCALPORTRANGE.html](https://curl.haxx.se/libcurl/c/CURLOPT_LOCALPORTRANGE.html) */ localPortRange?: string | number | boolean | null; /** * Login options. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_LOGIN_OPTIONS.html](https://curl.haxx.se/libcurl/c/CURLOPT_LOGIN_OPTIONS.html) */ LOGIN_OPTIONS?: string | number | boolean | null; /** * Login options. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_LOGIN_OPTIONS.html](https://curl.haxx.se/libcurl/c/CURLOPT_LOGIN_OPTIONS.html) */ loginOptions?: string | number | boolean | null; /** * Low speed limit to abort transfer. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_LOW_SPEED_LIMIT.html](https://curl.haxx.se/libcurl/c/CURLOPT_LOW_SPEED_LIMIT.html) */ LOW_SPEED_LIMIT?: string | number | boolean | null; /** * Low speed limit to abort transfer. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_LOW_SPEED_LIMIT.html](https://curl.haxx.se/libcurl/c/CURLOPT_LOW_SPEED_LIMIT.html) */ lowSpeedLimit?: string | number | boolean | null; /** * Time to be below the speed to trigger low speed abort. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_LOW_SPEED_TIME.html](https://curl.haxx.se/libcurl/c/CURLOPT_LOW_SPEED_TIME.html) */ LOW_SPEED_TIME?: string | number | boolean | null; /** * Time to be below the speed to trigger low speed abort. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_LOW_SPEED_TIME.html](https://curl.haxx.se/libcurl/c/CURLOPT_LOW_SPEED_TIME.html) */ lowSpeedTime?: string | number | boolean | null; /** * Authentication address. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_MAIL_AUTH.html](https://curl.haxx.se/libcurl/c/CURLOPT_MAIL_AUTH.html) */ MAIL_AUTH?: string | number | boolean | null; /** * Authentication address. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_MAIL_AUTH.html](https://curl.haxx.se/libcurl/c/CURLOPT_MAIL_AUTH.html) */ mailAuth?: string | number | boolean | null; /** * Address of the sender. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_MAIL_FROM.html](https://curl.haxx.se/libcurl/c/CURLOPT_MAIL_FROM.html) */ MAIL_FROM?: string | number | boolean | null; /** * Address of the sender. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_MAIL_FROM.html](https://curl.haxx.se/libcurl/c/CURLOPT_MAIL_FROM.html) */ mailFrom?: string | number | boolean | null; /** * Address of the recipients. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_MAIL_RCPT.html](https://curl.haxx.se/libcurl/c/CURLOPT_MAIL_RCPT.html) */ MAIL_RCPT?: string[] | null; /** * Address of the recipients. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_MAIL_RCPT.html](https://curl.haxx.se/libcurl/c/CURLOPT_MAIL_RCPT.html) */ mailRcpt?: string[] | null; /** * Allow RCPT TO command to fail for some recipients. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_MAIL_RCPT_ALLLOWFAILS.html](https://curl.haxx.se/libcurl/c/CURLOPT_MAIL_RCPT_ALLLOWFAILS.html) */ MAIL_RCPT_ALLLOWFAILS?: string | number | boolean | null; /** * Allow RCPT TO command to fail for some recipients. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_MAIL_RCPT_ALLLOWFAILS.html](https://curl.haxx.se/libcurl/c/CURLOPT_MAIL_RCPT_ALLLOWFAILS.html) */ mailRcptAlllowfails?: string | number | boolean | null; /** * Cap the download speed to this. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_MAX_RECV_SPEED_LARGE.html](https://curl.haxx.se/libcurl/c/CURLOPT_MAX_RECV_SPEED_LARGE.html) */ MAX_RECV_SPEED_LARGE?: string | number | boolean | null; /** * Cap the download speed to this. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_MAX_RECV_SPEED_LARGE.html](https://curl.haxx.se/libcurl/c/CURLOPT_MAX_RECV_SPEED_LARGE.html) */ maxRecvSpeedLarge?: string | number | boolean | null; /** * Cap the upload speed to this. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_MAX_SEND_SPEED_LARGE.html](https://curl.haxx.se/libcurl/c/CURLOPT_MAX_SEND_SPEED_LARGE.html) */ MAX_SEND_SPEED_LARGE?: string | number | boolean | null; /** * Cap the upload speed to this. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_MAX_SEND_SPEED_LARGE.html](https://curl.haxx.se/libcurl/c/CURLOPT_MAX_SEND_SPEED_LARGE.html) */ maxSendSpeedLarge?: string | number | boolean | null; /** * Limit the age (idle time) of connections for reuse. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_MAXAGE_CONN.html](https://curl.haxx.se/libcurl/c/CURLOPT_MAXAGE_CONN.html) */ MAXAGE_CONN?: string | number | boolean | null; /** * Limit the age (idle time) of connections for reuse. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_MAXAGE_CONN.html](https://curl.haxx.se/libcurl/c/CURLOPT_MAXAGE_CONN.html) */ maxAgeConn?: string | number | boolean | null; /** * Maximum number of connections in the connection pool. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_MAXCONNECTS.html](https://curl.haxx.se/libcurl/c/CURLOPT_MAXCONNECTS.html) */ MAXCONNECTS?: string | number | boolean | null; /** * Maximum number of connections in the connection pool. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_MAXCONNECTS.html](https://curl.haxx.se/libcurl/c/CURLOPT_MAXCONNECTS.html) */ maxConnects?: string | number | boolean | null; /** * Maximum file size to get. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_MAXFILESIZE.html](https://curl.haxx.se/libcurl/c/CURLOPT_MAXFILESIZE.html) */ MAXFILESIZE?: string | number | boolean | null; /** * Maximum file size to get. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_MAXFILESIZE.html](https://curl.haxx.se/libcurl/c/CURLOPT_MAXFILESIZE.html) */ maxFileSize?: string | number | boolean | null; /** * Maximum file size to get. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_MAXFILESIZE_LARGE.html](https://curl.haxx.se/libcurl/c/CURLOPT_MAXFILESIZE_LARGE.html) */ MAXFILESIZE_LARGE?: string | number | boolean | null; /** * Maximum file size to get. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_MAXFILESIZE_LARGE.html](https://curl.haxx.se/libcurl/c/CURLOPT_MAXFILESIZE_LARGE.html) */ maxFileSizeLarge?: string | number | boolean | null; /** * Limit the age (since creation) of connections for reuse. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_MAXLIFETIME_CONN.html](https://curl.haxx.se/libcurl/c/CURLOPT_MAXLIFETIME_CONN.html) */ MAXLIFETIME_CONN?: string | number | boolean | null; /** * Limit the age (since creation) of connections for reuse. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_MAXLIFETIME_CONN.html](https://curl.haxx.se/libcurl/c/CURLOPT_MAXLIFETIME_CONN.html) */ maxLifetimeConn?: string | number | boolean | null; /** * Maximum number of redirects to follow. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_MAXREDIRS.html](https://curl.haxx.se/libcurl/c/CURLOPT_MAXREDIRS.html) */ MAXREDIRS?: string | number | boolean | null; /** * Maximum number of redirects to follow. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_MAXREDIRS.html](https://curl.haxx.se/libcurl/c/CURLOPT_MAXREDIRS.html) */ maxRedirs?: string | number | boolean | null; /** * Enable .netrc parsing. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_NETRC.html](https://curl.haxx.se/libcurl/c/CURLOPT_NETRC.html) */ NETRC?: CurlNetrc | null; /** * Enable .netrc parsing. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_NETRC.html](https://curl.haxx.se/libcurl/c/CURLOPT_NETRC.html) */ netrc?: CurlNetrc | null; /** * .netrc file name. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_NETRC_FILE.html](https://curl.haxx.se/libcurl/c/CURLOPT_NETRC_FILE.html) */ NETRC_FILE?: string | number | boolean | null; /** * .netrc file name. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_NETRC_FILE.html](https://curl.haxx.se/libcurl/c/CURLOPT_NETRC_FILE.html) */ netrcFile?: string | number | boolean | null; /** * Mode for creating new remote directories. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_NEW_DIRECTORY_PERMS.html](https://curl.haxx.se/libcurl/c/CURLOPT_NEW_DIRECTORY_PERMS.html) */ NEW_DIRECTORY_PERMS?: string | number | boolean | null; /** * Mode for creating new remote directories. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_NEW_DIRECTORY_PERMS.html](https://curl.haxx.se/libcurl/c/CURLOPT_NEW_DIRECTORY_PERMS.html) */ newDirectoryPerms?: string | number | boolean | null; /** * Mode for creating new remote files. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_NEW_FILE_PERMS.html](https://curl.haxx.se/libcurl/c/CURLOPT_NEW_FILE_PERMS.html) */ NEW_FILE_PERMS?: string | number | boolean | null; /** * Mode for creating new remote files. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_NEW_FILE_PERMS.html](https://curl.haxx.se/libcurl/c/CURLOPT_NEW_FILE_PERMS.html) */ newFilePerms?: string | number | boolean | null; /** * Do not get the body contents. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_NOBODY.html](https://curl.haxx.se/libcurl/c/CURLOPT_NOBODY.html) */ NOBODY?: string | number | boolean | null; /** * Do not get the body contents. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_NOBODY.html](https://curl.haxx.se/libcurl/c/CURLOPT_NOBODY.html) */ nobody?: string | number | boolean | null; /** * Shut off the progress meter. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_NOPROGRESS.html](https://curl.haxx.se/libcurl/c/CURLOPT_NOPROGRESS.html) */ NOPROGRESS?: string | number | boolean | null; /** * Shut off the progress meter. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_NOPROGRESS.html](https://curl.haxx.se/libcurl/c/CURLOPT_NOPROGRESS.html) */ noProgress?: string | number | boolean | null; /** * Filter out hosts from proxy use. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_NOPROXY.html](https://curl.haxx.se/libcurl/c/CURLOPT_NOPROXY.html) */ NOPROXY?: string | number | boolean | null; /** * Filter out hosts from proxy use. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_NOPROXY.html](https://curl.haxx.se/libcurl/c/CURLOPT_NOPROXY.html) */ noProxy?: string | number | boolean | null; /** * Do not install signal handlers. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_NOSIGNAL.html](https://curl.haxx.se/libcurl/c/CURLOPT_NOSIGNAL.html) */ NOSIGNAL?: string | number | boolean | null; /** * Do not install signal handlers. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_NOSIGNAL.html](https://curl.haxx.se/libcurl/c/CURLOPT_NOSIGNAL.html) */ noSignal?: string | number | boolean | null; /** * Password. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_PASSWORD.html](https://curl.haxx.se/libcurl/c/CURLOPT_PASSWORD.html) */ PASSWORD?: string | number | boolean | null; /** * Password. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_PASSWORD.html](https://curl.haxx.se/libcurl/c/CURLOPT_PASSWORD.html) */ password?: string | number | boolean | null; /** * Disable squashing /../ and /./ sequences in the path. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_PATH_AS_IS.html](https://curl.haxx.se/libcurl/c/CURLOPT_PATH_AS_IS.html) */ PATH_AS_IS?: string | number | boolean | null; /** * Disable squashing /../ and /./ sequences in the path. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_PATH_AS_IS.html](https://curl.haxx.se/libcurl/c/CURLOPT_PATH_AS_IS.html) */ pathAsIs?: string | number | boolean | null; /** * Set pinned SSL public key . * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_PINNEDPUBLICKEY.html](https://curl.haxx.se/libcurl/c/CURLOPT_PINNEDPUBLICKEY.html) */ PINNEDPUBLICKEY?: string | number | boolean | null; /** * Set pinned SSL public key . * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_PINNEDPUBLICKEY.html](https://curl.haxx.se/libcurl/c/CURLOPT_PINNEDPUBLICKEY.html) */ pinnedPublicKey?: string | number | boolean | null; /** * Wait on connection to pipeline on it. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_PIPEWAIT.html](https://curl.haxx.se/libcurl/c/CURLOPT_PIPEWAIT.html) */ PIPEWAIT?: string | number | boolean | null; /** * Wait on connection to pipeline on it. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_PIPEWAIT.html](https://curl.haxx.se/libcurl/c/CURLOPT_PIPEWAIT.html) */ pipeWait?: string | number | boolean | null; /** * Port number to connect to. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_PORT.html](https://curl.haxx.se/libcurl/c/CURLOPT_PORT.html) */ PORT?: string | number | boolean | null; /** * Port number to connect to. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_PORT.html](https://curl.haxx.se/libcurl/c/CURLOPT_PORT.html) */ port?: string | number | boolean | null; /** * Issue an HTTP POST request. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_POST.html](https://curl.haxx.se/libcurl/c/CURLOPT_POST.html) */ POST?: string | number | boolean | null; /** * Issue an HTTP POST request. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_POST.html](https://curl.haxx.se/libcurl/c/CURLOPT_POST.html) */ post?: string | number | boolean | null; /** * Send a POST with this data. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_POSTFIELDS.html](https://curl.haxx.se/libcurl/c/CURLOPT_POSTFIELDS.html) */ POSTFIELDS?: string | number | boolean | null; /** * Send a POST with this data. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_POSTFIELDS.html](https://curl.haxx.se/libcurl/c/CURLOPT_POSTFIELDS.html) */ postFields?: string | number | boolean | null; /** * The POST data is this big. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_POSTFIELDSIZE.html](https://curl.haxx.se/libcurl/c/CURLOPT_POSTFIELDSIZE.html) */ POSTFIELDSIZE?: string | number | boolean | null; /** * The POST data is this big. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_POSTFIELDSIZE.html](https://curl.haxx.se/libcurl/c/CURLOPT_POSTFIELDSIZE.html) */ postFieldSize?: string | number | boolean | null; /** * The POST data is this big. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_POSTFIELDSIZE_LARGE.html](https://curl.haxx.se/libcurl/c/CURLOPT_POSTFIELDSIZE_LARGE.html) */ POSTFIELDSIZE_LARGE?: string | number | boolean | null; /** * The POST data is this big. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_POSTFIELDSIZE_LARGE.html](https://curl.haxx.se/libcurl/c/CURLOPT_POSTFIELDSIZE_LARGE.html) */ postFieldSizeLarge?: string | number | boolean | null; /** * Commands to run after transfer. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_POSTQUOTE.html](https://curl.haxx.se/libcurl/c/CURLOPT_POSTQUOTE.html) */ POSTQUOTE?: string[] | null; /** * Commands to run after transfer. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_POSTQUOTE.html](https://curl.haxx.se/libcurl/c/CURLOPT_POSTQUOTE.html) */ postQuote?: string[] | null; /** * How to act on redirects after POST. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_POSTREDIR.html](https://curl.haxx.se/libcurl/c/CURLOPT_POSTREDIR.html) */ POSTREDIR?: string | number | boolean | null; /** * How to act on redirects after POST. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_POSTREDIR.html](https://curl.haxx.se/libcurl/c/CURLOPT_POSTREDIR.html) */ postRedir?: string | number | boolean | null; /** * Socks proxy to use. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_PRE_PROXY.html](https://curl.haxx.se/libcurl/c/CURLOPT_PRE_PROXY.html) */ PRE_PROXY?: string | number | boolean | null; /** * Socks proxy to use. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_PRE_PROXY.html](https://curl.haxx.se/libcurl/c/CURLOPT_PRE_PROXY.html) */ preProxy?: string | number | boolean | null; /** * Commands to run just before transfer. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_PREQUOTE.html](https://curl.haxx.se/libcurl/c/CURLOPT_PREQUOTE.html) */ PREQUOTE?: string[] | null; /** * Commands to run just before transfer. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_PREQUOTE.html](https://curl.haxx.se/libcurl/c/CURLOPT_PREQUOTE.html) */ preQuote?: string[] | null; /** * Callback to be called after a connection is established but before a request is made on that connection. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_PREREQFUNCTION.html](https://curl.haxx.se/libcurl/c/CURLOPT_PREREQFUNCTION.html) */ PREREQFUNCTION?: | (( this: EasyNativeBinding, connPrimaryIp: string, connLocalIp: string, connPrimaryPort: number, conLocalPort: number ) => CurlPreReqFunc) | null; /** * Callback to be called after a connection is established but before a request is made on that connection. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_PREREQFUNCTION.html](https://curl.haxx.se/libcurl/c/CURLOPT_PREREQFUNCTION.html) */ preReqFunction?: | (( this: EasyNativeBinding, connPrimaryIp: string, connLocalIp: string, connPrimaryPort: number, conLocalPort: number ) => CurlPreReqFunc) | null; /** * OBSOLETE callback for progress meter. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_PROGRESSFUNCTION.html](https://curl.haxx.se/libcurl/c/CURLOPT_PROGRESSFUNCTION.html) */ PROGRESSFUNCTION?: | (( this: EasyNativeBinding, dltotal: number, dlnow: number, ultotal: number, ulnow: number ) => number | CurlProgressFunc) | null; /** * OBSOLETE callback for progress meter. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_PROGRESSFUNCTION.html](https://curl.haxx.se/libcurl/c/CURLOPT_PROGRESSFUNCTION.html) */ progressFunction?: | (( this: EasyNativeBinding, dltotal: number, dlnow: number, ultotal: number, ulnow: number ) => number | CurlProgressFunc) | null; /** * Deprecated option Allowed protocols. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_PROTOCOLS.html](https://curl.haxx.se/libcurl/c/CURLOPT_PROTOCOLS.html) */ PROTOCOLS?: CurlProtocol | null; /** * Deprecated option Allowed protocols. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_PROTOCOLS.html](https://curl.haxx.se/libcurl/c/CURLOPT_PROTOCOLS.html) */ protocols?: CurlProtocol | null; /** * Allowed protocols. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_PROTOCOLS_STR.html](https://curl.haxx.se/libcurl/c/CURLOPT_PROTOCOLS_STR.html) */ PROTOCOLS_STR?: string | number | boolean | null; /** * Allowed protocols. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_PROTOCOLS_STR.html](https://curl.haxx.se/libcurl/c/CURLOPT_PROTOCOLS_STR.html) */ protocolsStr?: string | number | boolean | null; /** * Proxy to use. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_PROXY.html](https://curl.haxx.se/libcurl/c/CURLOPT_PROXY.html) */ PROXY?: string | number | boolean | null; /** * Proxy to use. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_PROXY.html](https://curl.haxx.se/libcurl/c/CURLOPT_PROXY.html) */ proxy?: string | number | boolean | null; /** * Proxy CA cert bundle. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_CAINFO.html](https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_CAINFO.html) */ PROXY_CAINFO?: string | number | boolean | null; /** * Proxy CA cert bundle. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_CAINFO.html](https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_CAINFO.html) */ proxyCaInfo?: string | number | boolean | null; /** * Proxy CA cert bundle memory buffer. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_CAINFO_BLOB.html](https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_CAINFO_BLOB.html) */ PROXY_CAINFO_BLOB?: ArrayBuffer | Buffer | string | null; /** * Proxy CA cert bundle memory buffer. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_CAINFO_BLOB.html](https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_CAINFO_BLOB.html) */ proxyCaInfoBlob?: ArrayBuffer | Buffer | string | null; /** * Path to proxy CA cert bundle. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_CAPATH.html](https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_CAPATH.html) */ PROXY_CAPATH?: string | number | boolean | null; /** * Path to proxy CA cert bundle. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_CAPATH.html](https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_CAPATH.html) */ proxyCaPath?: string | number | boolean | null; /** * Proxy Certificate Revocation List. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_CRLFILE.html](https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_CRLFILE.html) */ PROXY_CRLFILE?: string | number | boolean | null; /** * Proxy Certificate Revocation List. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_CRLFILE.html](https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_CRLFILE.html) */ proxyCrlFile?: string | number | boolean | null; /** * Proxy issuer certificate. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_ISSUERCERT.html](https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_ISSUERCERT.html) */ PROXY_ISSUERCERT?: string | number | boolean | null; /** * Proxy issuer certificate. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_ISSUERCERT.html](https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_ISSUERCERT.html) */ proxyIssuerCert?: string | number | boolean | null; /** * Proxy issuer certificate memory buffer. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_ISSUERCERT_BLOB.html](https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_ISSUERCERT_BLOB.html) */ PROXY_ISSUERCERT_BLOB?: string | number | boolean | null; /** * Proxy issuer certificate memory buffer. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_ISSUERCERT_BLOB.html](https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_ISSUERCERT_BLOB.html) */ proxyIssuerCertBlob?: string | number | boolean | null; /** * Proxy client key password. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_KEYPASSWD.html](https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_KEYPASSWD.html) */ PROXY_KEYPASSWD?: string | number | boolean | null; /** * Proxy client key password. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_KEYPASSWD.html](https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_KEYPASSWD.html) */ proxyKeyPasswd?: string | number | boolean | null; /** * Set the proxy's pinned SSL public key. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_PINNEDPUBLICKEY.html](https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_PINNEDPUBLICKEY.html) */ PROXY_PINNEDPUBLICKEY?: string | number | boolean | null; /** * Set the proxy's pinned SSL public key. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_PINNEDPUBLICKEY.html](https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_PINNEDPUBLICKEY.html) */ proxyPinnedPublicKey?: string | number | boolean | null; /** * Proxy authentication service name. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_SERVICE_NAME.html](https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_SERVICE_NAME.html) */ PROXY_SERVICE_NAME?: string | number | boolean | null; /** * Proxy authentication service name. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_SERVICE_NAME.html](https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_SERVICE_NAME.html) */ proxyServiceName?: string | number | boolean | null; /** * Proxy ciphers to use. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_SSL_CIPHER_LIST.html](https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_SSL_CIPHER_LIST.html) */ PROXY_SSL_CIPHER_LIST?: string | number | boolean | null; /** * Proxy ciphers to use. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_SSL_CIPHER_LIST.html](https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_SSL_CIPHER_LIST.html) */ proxySslCipherList?: string | number | boolean | null; /** * Control proxy SSL behavior. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_SSL_OPTIONS.html](https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_SSL_OPTIONS.html) */ PROXY_SSL_OPTIONS?: CurlSslOpt | null; /** * Control proxy SSL behavior. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_SSL_OPTIONS.html](https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_SSL_OPTIONS.html) */ proxySslOptions?: CurlSslOpt | null; /** * Verify the host name in the proxy SSL certificate. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_SSL_VERIFYHOST.html](https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_SSL_VERIFYHOST.html) */ PROXY_SSL_VERIFYHOST?: string | number | boolean | null; /** * Verify the host name in the proxy SSL certificate. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_SSL_VERIFYHOST.html](https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_SSL_VERIFYHOST.html) */ proxySslVerifyHost?: string | number | boolean | null; /** * Verify the proxy SSL certificate. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_SSL_VERIFYPEER.html](https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_SSL_VERIFYPEER.html) */ PROXY_SSL_VERIFYPEER?: string | number | boolean | null; /** * Verify the proxy SSL certificate. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_SSL_VERIFYPEER.html](https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_SSL_VERIFYPEER.html) */ proxySslVerifyPeer?: string | number | boolean | null; /** * Proxy client cert. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_SSLCERT.html](https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_SSLCERT.html) */ PROXY_SSLCERT?: ArrayBuffer | Buffer | string | null; /** * Proxy client cert. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_SSLCERT.html](https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_SSLCERT.html) */ proxySslCert?: ArrayBuffer | Buffer | string | null; /** * Proxy client cert memory buffer. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_SSLCERT_BLOB.html](https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_SSLCERT_BLOB.html) */ PROXY_SSLCERT_BLOB?: ArrayBuffer | Buffer | string | null; /** * Proxy client cert memory buffer. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_SSLCERT_BLOB.html](https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_SSLCERT_BLOB.html) */ proxySslCertBlob?: ArrayBuffer | Buffer | string | null; /** * Proxy client cert type. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_SSLCERTTYPE.html](https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_SSLCERTTYPE.html) */ PROXY_SSLCERTTYPE?: string | number | boolean | null; /** * Proxy client cert type. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_SSLCERTTYPE.html](https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_SSLCERTTYPE.html) */ proxySslCertType?: string | number | boolean | null; /** * Proxy client key. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_SSLKEY.html](https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_SSLKEY.html) */ PROXY_SSLKEY?: string | number | boolean | null; /** * Proxy client key. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_SSLKEY.html](https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_SSLKEY.html) */ proxySslKey?: string | number | boolean | null; /** * Proxy client key. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_SSLKEY_BLOB.html](https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_SSLKEY_BLOB.html) */ PROXY_SSLKEY_BLOB?: ArrayBuffer | Buffer | string | null; /** * Proxy client key. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_SSLKEY_BLOB.html](https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_SSLKEY_BLOB.html) */ proxySslKeyBlob?: ArrayBuffer | Buffer | string | null; /** * Proxy client key type. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_SSLKEYTYPE.html](https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_SSLKEYTYPE.html) */ PROXY_SSLKEYTYPE?: string | number | boolean | null; /** * Proxy client key type. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_SSLKEYTYPE.html](https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_SSLKEYTYPE.html) */ proxySslKeyType?: string | number | boolean | null; /** * Proxy SSL version to use. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_SSLVERSION.html](https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_SSLVERSION.html) */ PROXY_SSLVERSION?: string | number | boolean | null; /** * Proxy SSL version to use. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_SSLVERSION.html](https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_SSLVERSION.html) */ proxySslversion?: string | number | boolean | null; /** * Proxy TLS 1.3 cipher suites to use. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_TLS13_CIPHERS.html](https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_TLS13_CIPHERS.html) */ PROXY_TLS13_CIPHERS?: string | number | boolean | null; /** * Proxy TLS 1.3 cipher suites to use. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_TLS13_CIPHERS.html](https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_TLS13_CIPHERS.html) */ proxyTls13Ciphers?: string | number | boolean | null; /** * Proxy TLS authentication password. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_TLSAUTH_PASSWORD.html](https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_TLSAUTH_PASSWORD.html) */ PROXY_TLSAUTH_PASSWORD?: string | number | boolean | null; /** * Proxy TLS authentication password. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_TLSAUTH_PASSWORD.html](https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_TLSAUTH_PASSWORD.html) */ proxyTlsAuthPassword?: string | number | boolean | null; /** * Proxy TLS authentication methods. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_TLSAUTH_TYPE.html](https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_TLSAUTH_TYPE.html) */ PROXY_TLSAUTH_TYPE?: string | number | boolean | null; /** * Proxy TLS authentication methods. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_TLSAUTH_TYPE.html](https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_TLSAUTH_TYPE.html) */ proxyTlsAuthType?: string | number | boolean | null; /** * Proxy TLS authentication user name. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_TLSAUTH_USERNAME.html](https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_TLSAUTH_USERNAME.html) */ PROXY_TLSAUTH_USERNAME?: string | number | boolean | null; /** * Proxy TLS authentication user name. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_TLSAUTH_USERNAME.html](https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_TLSAUTH_USERNAME.html) */ proxyTlsAuthUsername?: string | number | boolean | null; /** * Add transfer mode to URL over proxy. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_TRANSFER_MODE.html](https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_TRANSFER_MODE.html) */ PROXY_TRANSFER_MODE?: string | number | boolean | null; /** * Add transfer mode to URL over proxy. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_TRANSFER_MODE.html](https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_TRANSFER_MODE.html) */ proxyTransferMode?: string | number | boolean | null; /** * HTTP proxy authentication methods. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_PROXYAUTH.html](https://curl.haxx.se/libcurl/c/CURLOPT_PROXYAUTH.html) */ PROXYAUTH?: string | number | boolean | null; /** * HTTP proxy authentication methods. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_PROXYAUTH.html](https://curl.haxx.se/libcurl/c/CURLOPT_PROXYAUTH.html) */ proxyAuth?: string | number | boolean | null; /** * Custom HTTP headers sent to proxy. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_PROXYHEADER.html](https://curl.haxx.se/libcurl/c/CURLOPT_PROXYHEADER.html) */ PROXYHEADER?: string[] | null; /** * Custom HTTP headers sent to proxy. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_PROXYHEADER.html](https://curl.haxx.se/libcurl/c/CURLOPT_PROXYHEADER.html) */ proxyHeader?: string[] | null; /** * Proxy password. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_PROXYPASSWORD.html](https://curl.haxx.se/libcurl/c/CURLOPT_PROXYPASSWORD.html) */ PROXYPASSWORD?: string | number | boolean | null; /** * Proxy password. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_PROXYPASSWORD.html](https://curl.haxx.se/libcurl/c/CURLOPT_PROXYPASSWORD.html) */ proxyPassword?: string | number | boolean | null; /** * Proxy port to use. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_PROXYPORT.html](https://curl.haxx.se/libcurl/c/CURLOPT_PROXYPORT.html) */ PROXYPORT?: string | number | boolean | null; /** * Proxy port to use. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_PROXYPORT.html](https://curl.haxx.se/libcurl/c/CURLOPT_PROXYPORT.html) */ proxyPort?: string | number | boolean | null; /** * Proxy type. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_PROXYTYPE.html](https://curl.haxx.se/libcurl/c/CURLOPT_PROXYTYPE.html) */ PROXYTYPE?: CurlProxy | null; /** * Proxy type. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_PROXYTYPE.html](https://curl.haxx.se/libcurl/c/CURLOPT_PROXYTYPE.html) */ proxyType?: CurlProxy | null; /** * Proxy user name. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_PROXYUSERNAME.html](https://curl.haxx.se/libcurl/c/CURLOPT_PROXYUSERNAME.html) */ PROXYUSERNAME?: string | number | boolean | null; /** * Proxy user name. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_PROXYUSERNAME.html](https://curl.haxx.se/libcurl/c/CURLOPT_PROXYUSERNAME.html) */ proxyUsername?: string | number | boolean | null; /** * Proxy user name and password. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_PROXYUSERPWD.html](https://curl.haxx.se/libcurl/c/CURLOPT_PROXYUSERPWD.html) */ PROXYUSERPWD?: string | number | boolean | null; /** * Proxy user name and password. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_PROXYUSERPWD.html](https://curl.haxx.se/libcurl/c/CURLOPT_PROXYUSERPWD.html) */ proxyUserpwd?: string | number | boolean | null; /** * Deprecated option Issue an HTTP PUT request. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_PUT.html](https://curl.haxx.se/libcurl/c/CURLOPT_PUT.html) */ PUT?: string | number | boolean | null; /** * Deprecated option Issue an HTTP PUT request. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_PUT.html](https://curl.haxx.se/libcurl/c/CURLOPT_PUT.html) */ put?: string | number | boolean | null; /** * Commands to run before transfer. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_QUOTE.html](https://curl.haxx.se/libcurl/c/CURLOPT_QUOTE.html) */ QUOTE?: string[] | null; /** * Commands to run before transfer. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_QUOTE.html](https://curl.haxx.se/libcurl/c/CURLOPT_QUOTE.html) */ quote?: string[] | null; /** * OBSOLETE Provide source for entropy random data. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_RANDOM_FILE.html](https://curl.haxx.se/libcurl/c/CURLOPT_RANDOM_FILE.html) */ RANDOM_FILE?: string | number | boolean | null; /** * OBSOLETE Provide source for entropy random data. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_RANDOM_FILE.html](https://curl.haxx.se/libcurl/c/CURLOPT_RANDOM_FILE.html) */ randomFile?: string | number | boolean | null; /** * Range requests. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_RANGE.html](https://curl.haxx.se/libcurl/c/CURLOPT_RANGE.html) */ RANGE?: string | number | boolean | null; /** * Range requests. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_RANGE.html](https://curl.haxx.se/libcurl/c/CURLOPT_RANGE.html) */ range?: string | number | boolean | null; /** * Data pointer to pass to the read callback. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_READDATA.html](https://curl.haxx.se/libcurl/c/CURLOPT_READDATA.html) */ READDATA?: string | number | boolean | null; /** * Data pointer to pass to the read callback. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_READDATA.html](https://curl.haxx.se/libcurl/c/CURLOPT_READDATA.html) */ readData?: string | number | boolean | null; /** * Callback for reading data. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_READFUNCTION.html](https://curl.haxx.se/libcurl/c/CURLOPT_READFUNCTION.html) */ READFUNCTION?: | (( this: EasyNativeBinding, data: Buffer, size: number, nmemb: number ) => number) | null; /** * Callback for reading data. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_READFUNCTION.html](https://curl.haxx.se/libcurl/c/CURLOPT_READFUNCTION.html) */ readFunction?: | (( this: EasyNativeBinding, data: Buffer, size: number, nmemb: number ) => number) | null; /** * Deprecated option Protocols to allow redirects to. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_REDIR_PROTOCOLS.html](https://curl.haxx.se/libcurl/c/CURLOPT_REDIR_PROTOCOLS.html) */ REDIR_PROTOCOLS?: CurlProtocol | null; /** * Deprecated option Protocols to allow redirects to. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_REDIR_PROTOCOLS.html](https://curl.haxx.se/libcurl/c/CURLOPT_REDIR_PROTOCOLS.html) */ redirProtocols?: CurlProtocol | null; /** * Protocols to allow redirects to. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_REDIR_PROTOCOLS_STR.html](https://curl.haxx.se/libcurl/c/CURLOPT_REDIR_PROTOCOLS_STR.html) */ REDIR_PROTOCOLS_STR?: string | number | boolean | null; /** * Protocols to allow redirects to. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_REDIR_PROTOCOLS_STR.html](https://curl.haxx.se/libcurl/c/CURLOPT_REDIR_PROTOCOLS_STR.html) */ redirProtocolsStr?: string | number | boolean | null; /** * Referer: header. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_REFERER.html](https://curl.haxx.se/libcurl/c/CURLOPT_REFERER.html) */ REFERER?: string | number | boolean | null; /** * Referer: header. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_REFERER.html](https://curl.haxx.se/libcurl/c/CURLOPT_REFERER.html) */ referer?: string | number | boolean | null; /** * Set the request target. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_REQUEST_TARGET.html](https://curl.haxx.se/libcurl/c/CURLOPT_REQUEST_TARGET.html) */ REQUEST_TARGET?: string | number | boolean | null; /** * Set the request target. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_REQUEST_TARGET.html](https://curl.haxx.se/libcurl/c/CURLOPT_REQUEST_TARGET.html) */ requestTarget?: string | number | boolean | null; /** * Provide fixed/fake name resolves. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_RESOLVE.html](https://curl.haxx.se/libcurl/c/CURLOPT_RESOLVE.html) */ RESOLVE?: string[] | null; /** * Provide fixed/fake name resolves. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_RESOLVE.html](https://curl.haxx.se/libcurl/c/CURLOPT_RESOLVE.html) */ resolve?: string[] | null; /** * Resume a transfer. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_RESUME_FROM.html](https://curl.haxx.se/libcurl/c/CURLOPT_RESUME_FROM.html) */ RESUME_FROM?: string | number | boolean | null; /** * Resume a transfer. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_RESUME_FROM.html](https://curl.haxx.se/libcurl/c/CURLOPT_RESUME_FROM.html) */ resumeFrom?: string | number | boolean | null; /** * Resume a transfer. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_RESUME_FROM_LARGE.html](https://curl.haxx.se/libcurl/c/CURLOPT_RESUME_FROM_LARGE.html) */ RESUME_FROM_LARGE?: string | number | boolean | null; /** * Resume a transfer. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_RESUME_FROM_LARGE.html](https://curl.haxx.se/libcurl/c/CURLOPT_RESUME_FROM_LARGE.html) */ resumeFromLarge?: string | number | boolean | null; /** * Client CSEQ number. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_RTSP_CLIENT_CSEQ.html](https://curl.haxx.se/libcurl/c/CURLOPT_RTSP_CLIENT_CSEQ.html) */ RTSP_CLIENT_CSEQ?: string | number | boolean | null; /** * Client CSEQ number. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_RTSP_CLIENT_CSEQ.html](https://curl.haxx.se/libcurl/c/CURLOPT_RTSP_CLIENT_CSEQ.html) */ rtspClientCseq?: string | number | boolean | null; /** * RTSP request. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_RTSP_REQUEST.html](https://curl.haxx.se/libcurl/c/CURLOPT_RTSP_REQUEST.html) */ RTSP_REQUEST?: CurlRtspRequest | null; /** * RTSP request. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_RTSP_REQUEST.html](https://curl.haxx.se/libcurl/c/CURLOPT_RTSP_REQUEST.html) */ rtspRequest?: CurlRtspRequest | null; /** * CSEQ number for RTSP Server-\>Client request. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_RTSP_SERVER_CSEQ.html](https://curl.haxx.se/libcurl/c/CURLOPT_RTSP_SERVER_CSEQ.html) */ RTSP_SERVER_CSEQ?: string | number | boolean | null; /** * CSEQ number for RTSP Server-\>Client request. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_RTSP_SERVER_CSEQ.html](https://curl.haxx.se/libcurl/c/CURLOPT_RTSP_SERVER_CSEQ.html) */ rtspServerCseq?: string | number | boolean | null; /** * RTSP session-id. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_RTSP_SESSION_ID.html](https://curl.haxx.se/libcurl/c/CURLOPT_RTSP_SESSION_ID.html) */ RTSP_SESSION_ID?: string | number | boolean | null; /** * RTSP session-id. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_RTSP_SESSION_ID.html](https://curl.haxx.se/libcurl/c/CURLOPT_RTSP_SESSION_ID.html) */ rtspSessionId?: string | number | boolean | null; /** * RTSP stream URI. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_RTSP_STREAM_URI.html](https://curl.haxx.se/libcurl/c/CURLOPT_RTSP_STREAM_URI.html) */ RTSP_STREAM_URI?: string | number | boolean | null; /** * RTSP stream URI. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_RTSP_STREAM_URI.html](https://curl.haxx.se/libcurl/c/CURLOPT_RTSP_STREAM_URI.html) */ rtspStreamUri?: string | number | boolean | null; /** * RTSP Transport: header. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_RTSP_TRANSPORT.html](https://curl.haxx.se/libcurl/c/CURLOPT_RTSP_TRANSPORT.html) */ RTSP_TRANSPORT?: string | number | boolean | null; /** * RTSP Transport: header. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_RTSP_TRANSPORT.html](https://curl.haxx.se/libcurl/c/CURLOPT_RTSP_TRANSPORT.html) */ rtspTransPort?: string | number | boolean | null; /** * SASL authorization identity (identity to act as). * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_SASL_AUTHZID.html](https://curl.haxx.se/libcurl/c/CURLOPT_SASL_AUTHZID.html) */ SASL_AUTHZID?: string | number | boolean | null; /** * SASL authorization identity (identity to act as). * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_SASL_AUTHZID.html](https://curl.haxx.se/libcurl/c/CURLOPT_SASL_AUTHZID.html) */ saslAuthzId?: string | number | boolean | null; /** * Enable SASL initial response. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_SASL_IR.html](https://curl.haxx.se/libcurl/c/CURLOPT_SASL_IR.html) */ SASL_IR?: string | number | boolean | null; /** * Enable SASL initial response. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_SASL_IR.html](https://curl.haxx.se/libcurl/c/CURLOPT_SASL_IR.html) */ saslIr?: string | number | boolean | null; /** * Callback for seek operations. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_SEEKFUNCTION.html](https://curl.haxx.se/libcurl/c/CURLOPT_SEEKFUNCTION.html) */ SEEKFUNCTION?: | ((this: EasyNativeBinding, offset: number, origin: number) => number) | null; /** * Callback for seek operations. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_SEEKFUNCTION.html](https://curl.haxx.se/libcurl/c/CURLOPT_SEEKFUNCTION.html) */ seekFunction?: | ((this: EasyNativeBinding, offset: number, origin: number) => number) | null; /** * Timeout for server responses. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_SERVER_RESPONSE_TIMEOUT.html](https://curl.haxx.se/libcurl/c/CURLOPT_SERVER_RESPONSE_TIMEOUT.html) */ SERVER_RESPONSE_TIMEOUT?: string | number | boolean | null; /** * Timeout for server responses. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_SERVER_RESPONSE_TIMEOUT.html](https://curl.haxx.se/libcurl/c/CURLOPT_SERVER_RESPONSE_TIMEOUT.html) */ serverResponseTimeout?: string | number | boolean | null; /** * Authentication service name. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_SERVICE_NAME.html](https://curl.haxx.se/libcurl/c/CURLOPT_SERVICE_NAME.html) */ SERVICE_NAME?: string | number | boolean | null; /** * Authentication service name. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_SERVICE_NAME.html](https://curl.haxx.se/libcurl/c/CURLOPT_SERVICE_NAME.html) */ serviceName?: string | number | boolean | null; /** * Share object to use. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_SHARE.html](https://curl.haxx.se/libcurl/c/CURLOPT_SHARE.html) */ SHARE?: Share | null; /** * Share object to use. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_SHARE.html](https://curl.haxx.se/libcurl/c/CURLOPT_SHARE.html) */ share?: Share | null; /** * Socks5 authentication methods. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_SOCKS5_AUTH.html](https://curl.haxx.se/libcurl/c/CURLOPT_SOCKS5_AUTH.html) */ SOCKS5_AUTH?: string | number | boolean | null; /** * Socks5 authentication methods. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_SOCKS5_AUTH.html](https://curl.haxx.se/libcurl/c/CURLOPT_SOCKS5_AUTH.html) */ socks5Auth?: string | number | boolean | null; /** * Socks5 GSSAPI NEC mode. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_SOCKS5_GSSAPI_NEC.html](https://curl.haxx.se/libcurl/c/CURLOPT_SOCKS5_GSSAPI_NEC.html) */ SOCKS5_GSSAPI_NEC?: string | number | boolean | null; /** * Socks5 GSSAPI NEC mode. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_SOCKS5_GSSAPI_NEC.html](https://curl.haxx.se/libcurl/c/CURLOPT_SOCKS5_GSSAPI_NEC.html) */ socks5GssapiNec?: string | number | boolean | null; /** * Deprecated option Socks5 GSSAPI service name. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_SOCKS5_GSSAPI_SERVICE.html](https://curl.haxx.se/libcurl/c/CURLOPT_SOCKS5_GSSAPI_SERVICE.html) */ SOCKS5_GSSAPI_SERVICE?: string | number | boolean | null; /** * Deprecated option Socks5 GSSAPI service name. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_SOCKS5_GSSAPI_SERVICE.html](https://curl.haxx.se/libcurl/c/CURLOPT_SOCKS5_GSSAPI_SERVICE.html) */ socks5GssapiService?: string | number | boolean | null; /** * SSH authentication types. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_SSH_AUTH_TYPES.html](https://curl.haxx.se/libcurl/c/CURLOPT_SSH_AUTH_TYPES.html) */ SSH_AUTH_TYPES?: CurlSshAuth | null; /** * SSH authentication types. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_SSH_AUTH_TYPES.html](https://curl.haxx.se/libcurl/c/CURLOPT_SSH_AUTH_TYPES.html) */ sshAuthTypes?: CurlSshAuth | null; /** * Enable SSH compression. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_SSH_COMPRESSION.html](https://curl.haxx.se/libcurl/c/CURLOPT_SSH_COMPRESSION.html) */ SSH_COMPRESSION?: string | number | boolean | null; /** * Enable SSH compression. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_SSH_COMPRESSION.html](https://curl.haxx.se/libcurl/c/CURLOPT_SSH_COMPRESSION.html) */ sshCompression?: string | number | boolean | null; /** * MD5 of host's public key. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_SSH_HOST_PUBLIC_KEY_MD5.html](https://curl.haxx.se/libcurl/c/CURLOPT_SSH_HOST_PUBLIC_KEY_MD5.html) */ SSH_HOST_PUBLIC_KEY_MD5?: string | number | boolean | null; /** * MD5 of host's public key. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_SSH_HOST_PUBLIC_KEY_MD5.html](https://curl.haxx.se/libcurl/c/CURLOPT_SSH_HOST_PUBLIC_KEY_MD5.html) */ sshHostPublicKeyMd5?: string | number | boolean | null; /** * Custom pointer to pass to ssh host key callback. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_SSH_HOSTKEYDATA.html](https://curl.haxx.se/libcurl/c/CURLOPT_SSH_HOSTKEYDATA.html) */ SSH_HOSTKEYDATA?: string | number | boolean | null; /** * Custom pointer to pass to ssh host key callback. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_SSH_HOSTKEYDATA.html](https://curl.haxx.se/libcurl/c/CURLOPT_SSH_HOSTKEYDATA.html) */ sshHostKeyData?: string | number | boolean | null; /** * File name with known hosts. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_SSH_KNOWNHOSTS.html](https://curl.haxx.se/libcurl/c/CURLOPT_SSH_KNOWNHOSTS.html) */ SSH_KNOWNHOSTS?: string | number | boolean | null; /** * File name with known hosts. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_SSH_KNOWNHOSTS.html](https://curl.haxx.se/libcurl/c/CURLOPT_SSH_KNOWNHOSTS.html) */ sshKnownHosts?: string | number | boolean | null; /** * File name of private key. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_SSH_PRIVATE_KEYFILE.html](https://curl.haxx.se/libcurl/c/CURLOPT_SSH_PRIVATE_KEYFILE.html) */ SSH_PRIVATE_KEYFILE?: string | number | boolean | null; /** * File name of private key. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_SSH_PRIVATE_KEYFILE.html](https://curl.haxx.se/libcurl/c/CURLOPT_SSH_PRIVATE_KEYFILE.html) */ sshPrivateKeyFile?: string | number | boolean | null; /** * File name of public key. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_SSH_PUBLIC_KEYFILE.html](https://curl.haxx.se/libcurl/c/CURLOPT_SSH_PUBLIC_KEYFILE.html) */ SSH_PUBLIC_KEYFILE?: string | number | boolean | null; /** * File name of public key. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_SSH_PUBLIC_KEYFILE.html](https://curl.haxx.se/libcurl/c/CURLOPT_SSH_PUBLIC_KEYFILE.html) */ sshPublicKeyFile?: string | number | boolean | null; /** * Ciphers to use. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_SSL_CIPHER_LIST.html](https://curl.haxx.se/libcurl/c/CURLOPT_SSL_CIPHER_LIST.html) */ SSL_CIPHER_LIST?: string | number | boolean | null; /** * Ciphers to use. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_SSL_CIPHER_LIST.html](https://curl.haxx.se/libcurl/c/CURLOPT_SSL_CIPHER_LIST.html) */ sslCipherList?: string | number | boolean | null; /** * Set key exchange curves. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_SSL_EC_CURVES.html](https://curl.haxx.se/libcurl/c/CURLOPT_SSL_EC_CURVES.html) */ SSL_EC_CURVES?: string | number | boolean | null; /** * Set key exchange curves. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_SSL_EC_CURVES.html](https://curl.haxx.se/libcurl/c/CURLOPT_SSL_EC_CURVES.html) */ sslEcCurves?: string | number | boolean | null; /** * Enable use of ALPN. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_SSL_ENABLE_ALPN.html](https://curl.haxx.se/libcurl/c/CURLOPT_SSL_ENABLE_ALPN.html) */ SSL_ENABLE_ALPN?: string | number | boolean | null; /** * Enable use of ALPN. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_SSL_ENABLE_ALPN.html](https://curl.haxx.se/libcurl/c/CURLOPT_SSL_ENABLE_ALPN.html) */ sslEnableAlpn?: string | number | boolean | null; /** * OBSOLETE Enable use of NPN. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_SSL_ENABLE_NPN.html](https://curl.haxx.se/libcurl/c/CURLOPT_SSL_ENABLE_NPN.html) */ SSL_ENABLE_NPN?: string | number | boolean | null; /** * OBSOLETE Enable use of NPN. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_SSL_ENABLE_NPN.html](https://curl.haxx.se/libcurl/c/CURLOPT_SSL_ENABLE_NPN.html) */ sslEnableNpn?: string | number | boolean | null; /** * Enable TLS False Start. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_SSL_FALSESTART.html](https://curl.haxx.se/libcurl/c/CURLOPT_SSL_FALSESTART.html) */ SSL_FALSESTART?: string | number | boolean | null; /** * Enable TLS False Start. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_SSL_FALSESTART.html](https://curl.haxx.se/libcurl/c/CURLOPT_SSL_FALSESTART.html) */ sslFalsestart?: string | number | boolean | null; /** * Control SSL behavior. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_SSL_OPTIONS.html](https://curl.haxx.se/libcurl/c/CURLOPT_SSL_OPTIONS.html) */ SSL_OPTIONS?: CurlSslOpt | null; /** * Control SSL behavior. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_SSL_OPTIONS.html](https://curl.haxx.se/libcurl/c/CURLOPT_SSL_OPTIONS.html) */ sslOptions?: CurlSslOpt | null; /** * Disable SSL session-id cache. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_SSL_SESSIONID_CACHE.html](https://curl.haxx.se/libcurl/c/CURLOPT_SSL_SESSIONID_CACHE.html) */ SSL_SESSIONID_CACHE?: string | number | boolean | null; /** * Disable SSL session-id cache. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_SSL_SESSIONID_CACHE.html](https://curl.haxx.se/libcurl/c/CURLOPT_SSL_SESSIONID_CACHE.html) */ sslSessionIdCache?: string | number | boolean | null; /** * Verify the host name in the SSL certificate. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_SSL_VERIFYHOST.html](https://curl.haxx.se/libcurl/c/CURLOPT_SSL_VERIFYHOST.html) */ SSL_VERIFYHOST?: string | number | boolean | null; /** * Verify the host name in the SSL certificate. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_SSL_VERIFYHOST.html](https://curl.haxx.se/libcurl/c/CURLOPT_SSL_VERIFYHOST.html) */ sslVerifyHost?: string | number | boolean | null; /** * Verify the SSL certificate. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_SSL_VERIFYPEER.html](https://curl.haxx.se/libcurl/c/CURLOPT_SSL_VERIFYPEER.html) */ SSL_VERIFYPEER?: string | number | boolean | null; /** * Verify the SSL certificate. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_SSL_VERIFYPEER.html](https://curl.haxx.se/libcurl/c/CURLOPT_SSL_VERIFYPEER.html) */ sslVerifyPeer?: string | number | boolean | null; /** * Verify the SSL certificate's status. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_SSL_VERIFYSTATUS.html](https://curl.haxx.se/libcurl/c/CURLOPT_SSL_VERIFYSTATUS.html) */ SSL_VERIFYSTATUS?: string | number | boolean | null; /** * Verify the SSL certificate's status. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_SSL_VERIFYSTATUS.html](https://curl.haxx.se/libcurl/c/CURLOPT_SSL_VERIFYSTATUS.html) */ sslVerifyStatus?: string | number | boolean | null; /** * Client cert. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_SSLCERT.html](https://curl.haxx.se/libcurl/c/CURLOPT_SSLCERT.html) */ SSLCERT?: string | number | boolean | null; /** * Client cert. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_SSLCERT.html](https://curl.haxx.se/libcurl/c/CURLOPT_SSLCERT.html) */ sslCert?: string | number | boolean | null; /** * Client cert memory buffer. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_SSLCERT_BLOB.html](https://curl.haxx.se/libcurl/c/CURLOPT_SSLCERT_BLOB.html) */ SSLCERT_BLOB?: ArrayBuffer | Buffer | string | null; /** * Client cert memory buffer. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_SSLCERT_BLOB.html](https://curl.haxx.se/libcurl/c/CURLOPT_SSLCERT_BLOB.html) */ sslCertBlob?: ArrayBuffer | Buffer | string | null; /** * Client cert type. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_SSLCERTTYPE.html](https://curl.haxx.se/libcurl/c/CURLOPT_SSLCERTTYPE.html) */ SSLCERTTYPE?: string | number | boolean | null; /** * Client cert type. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_SSLCERTTYPE.html](https://curl.haxx.se/libcurl/c/CURLOPT_SSLCERTTYPE.html) */ sslCertType?: string | number | boolean | null; /** * Use identifier with SSL engine. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_SSLENGINE.html](https://curl.haxx.se/libcurl/c/CURLOPT_SSLENGINE.html) */ SSLENGINE?: string | number | boolean | null; /** * Use identifier with SSL engine. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_SSLENGINE.html](https://curl.haxx.se/libcurl/c/CURLOPT_SSLENGINE.html) */ sslEngine?: string | number | boolean | null; /** * Default SSL engine. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_SSLENGINE_DEFAULT.html](https://curl.haxx.se/libcurl/c/CURLOPT_SSLENGINE_DEFAULT.html) */ SSLENGINE_DEFAULT?: string | number | boolean | null; /** * Default SSL engine. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_SSLENGINE_DEFAULT.html](https://curl.haxx.se/libcurl/c/CURLOPT_SSLENGINE_DEFAULT.html) */ sslEngineDefault?: string | number | boolean | null; /** * Client key. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_SSLKEY.html](https://curl.haxx.se/libcurl/c/CURLOPT_SSLKEY.html) */ SSLKEY?: string | number | boolean | null; /** * Client key. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_SSLKEY.html](https://curl.haxx.se/libcurl/c/CURLOPT_SSLKEY.html) */ sslKey?: string | number | boolean | null; /** * Client key memory buffer. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_SSLKEY_BLOB.html](https://curl.haxx.se/libcurl/c/CURLOPT_SSLKEY_BLOB.html) */ SSLKEY_BLOB?: ArrayBuffer | Buffer | string | null; /** * Client key memory buffer. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_SSLKEY_BLOB.html](https://curl.haxx.se/libcurl/c/CURLOPT_SSLKEY_BLOB.html) */ sslKeyBlob?: ArrayBuffer | Buffer | string | null; /** * Client key type. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_SSLKEYTYPE.html](https://curl.haxx.se/libcurl/c/CURLOPT_SSLKEYTYPE.html) */ SSLKEYTYPE?: string | number | boolean | null; /** * Client key type. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_SSLKEYTYPE.html](https://curl.haxx.se/libcurl/c/CURLOPT_SSLKEYTYPE.html) */ sslKeyType?: string | number | boolean | null; /** * SSL version to use. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_SSLVERSION.html](https://curl.haxx.se/libcurl/c/CURLOPT_SSLVERSION.html) */ SSLVERSION?: CurlSslVersion | null; /** * SSL version to use. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_SSLVERSION.html](https://curl.haxx.se/libcurl/c/CURLOPT_SSLVERSION.html) */ sslversion?: CurlSslVersion | null; /** * Suppress proxy CONNECT response headers from user callbacks. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_SUPPRESS_CONNECT_HEADERS.html](https://curl.haxx.se/libcurl/c/CURLOPT_SUPPRESS_CONNECT_HEADERS.html) */ SUPPRESS_CONNECT_HEADERS?: string | number | boolean | null; /** * Suppress proxy CONNECT response headers from user callbacks. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_SUPPRESS_CONNECT_HEADERS.html](https://curl.haxx.se/libcurl/c/CURLOPT_SUPPRESS_CONNECT_HEADERS.html) */ suppressConnectHeaders?: string | number | boolean | null; /** * Enable TCP Fast Open. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_TCP_FASTOPEN.html](https://curl.haxx.se/libcurl/c/CURLOPT_TCP_FASTOPEN.html) */ TCP_FASTOPEN?: string | number | boolean | null; /** * Enable TCP Fast Open. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_TCP_FASTOPEN.html](https://curl.haxx.se/libcurl/c/CURLOPT_TCP_FASTOPEN.html) */ tcpFastOpen?: string | number | boolean | null; /** * Enable TCP keep-alive. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_TCP_KEEPALIVE.html](https://curl.haxx.se/libcurl/c/CURLOPT_TCP_KEEPALIVE.html) */ TCP_KEEPALIVE?: string | number | boolean | null; /** * Enable TCP keep-alive. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_TCP_KEEPALIVE.html](https://curl.haxx.se/libcurl/c/CURLOPT_TCP_KEEPALIVE.html) */ tcpKeepAlive?: string | number | boolean | null; /** * Idle time before sending keep-alive. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_TCP_KEEPIDLE.html](https://curl.haxx.se/libcurl/c/CURLOPT_TCP_KEEPIDLE.html) */ TCP_KEEPIDLE?: string | number | boolean | null; /** * Idle time before sending keep-alive. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_TCP_KEEPIDLE.html](https://curl.haxx.se/libcurl/c/CURLOPT_TCP_KEEPIDLE.html) */ tcpKeepIdle?: string | number | boolean | null; /** * Interval between keep-alive probes. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_TCP_KEEPINTVL.html](https://curl.haxx.se/libcurl/c/CURLOPT_TCP_KEEPINTVL.html) */ TCP_KEEPINTVL?: string | number | boolean | null; /** * Interval between keep-alive probes. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_TCP_KEEPINTVL.html](https://curl.haxx.se/libcurl/c/CURLOPT_TCP_KEEPINTVL.html) */ tcpKeepIntvl?: string | number | boolean | null; /** * Disable the Nagle algorithm. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_TCP_NODELAY.html](https://curl.haxx.se/libcurl/c/CURLOPT_TCP_NODELAY.html) */ TCP_NODELAY?: string | number | boolean | null; /** * Disable the Nagle algorithm. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_TCP_NODELAY.html](https://curl.haxx.se/libcurl/c/CURLOPT_TCP_NODELAY.html) */ tcpNoDelay?: string | number | boolean | null; /** * TELNET options. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_TELNETOPTIONS.html](https://curl.haxx.se/libcurl/c/CURLOPT_TELNETOPTIONS.html) */ TELNETOPTIONS?: string[] | null; /** * TELNET options. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_TELNETOPTIONS.html](https://curl.haxx.se/libcurl/c/CURLOPT_TELNETOPTIONS.html) */ telnetOptions?: string[] | null; /** * TFTP block size. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_TFTP_BLKSIZE.html](https://curl.haxx.se/libcurl/c/CURLOPT_TFTP_BLKSIZE.html) */ TFTP_BLKSIZE?: string | number | boolean | null; /** * TFTP block size. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_TFTP_BLKSIZE.html](https://curl.haxx.se/libcurl/c/CURLOPT_TFTP_BLKSIZE.html) */ tftpBlkSize?: string | number | boolean | null; /** * Do not send TFTP options requests. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_TFTP_NO_OPTIONS.html](https://curl.haxx.se/libcurl/c/CURLOPT_TFTP_NO_OPTIONS.html) */ TFTP_NO_OPTIONS?: string | number | boolean | null; /** * Do not send TFTP options requests. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_TFTP_NO_OPTIONS.html](https://curl.haxx.se/libcurl/c/CURLOPT_TFTP_NO_OPTIONS.html) */ tftpNoOptions?: string | number | boolean | null; /** * Make a time conditional request. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_TIMECONDITION.html](https://curl.haxx.se/libcurl/c/CURLOPT_TIMECONDITION.html) */ TIMECONDITION?: CurlTimeCond | null; /** * Make a time conditional request. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_TIMECONDITION.html](https://curl.haxx.se/libcurl/c/CURLOPT_TIMECONDITION.html) */ timeCondition?: CurlTimeCond | null; /** * Timeout for the entire request. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_TIMEOUT.html](https://curl.haxx.se/libcurl/c/CURLOPT_TIMEOUT.html) */ TIMEOUT?: string | number | boolean | null; /** * Timeout for the entire request. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_TIMEOUT.html](https://curl.haxx.se/libcurl/c/CURLOPT_TIMEOUT.html) */ timeout?: string | number | boolean | null; /** * Millisecond timeout for the entire request. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_TIMEOUT_MS.html](https://curl.haxx.se/libcurl/c/CURLOPT_TIMEOUT_MS.html) */ TIMEOUT_MS?: string | number | boolean | null; /** * Millisecond timeout for the entire request. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_TIMEOUT_MS.html](https://curl.haxx.se/libcurl/c/CURLOPT_TIMEOUT_MS.html) */ timeoutMs?: string | number | boolean | null; /** * Time value for the time conditional request. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_TIMEVALUE.html](https://curl.haxx.se/libcurl/c/CURLOPT_TIMEVALUE.html) */ TIMEVALUE?: string | number | boolean | null; /** * Time value for the time conditional request. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_TIMEVALUE.html](https://curl.haxx.se/libcurl/c/CURLOPT_TIMEVALUE.html) */ timeValue?: string | number | boolean | null; /** * Time value for the time conditional request. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_TIMEVALUE_LARGE.html](https://curl.haxx.se/libcurl/c/CURLOPT_TIMEVALUE_LARGE.html) */ TIMEVALUE_LARGE?: string | number | boolean | null; /** * Time value for the time conditional request. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_TIMEVALUE_LARGE.html](https://curl.haxx.se/libcurl/c/CURLOPT_TIMEVALUE_LARGE.html) */ timeValueLarge?: string | number | boolean | null; /** * TLS 1.3 cipher suites to use. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_TLS13_CIPHERS.html](https://curl.haxx.se/libcurl/c/CURLOPT_TLS13_CIPHERS.html) */ TLS13_CIPHERS?: string | number | boolean | null; /** * TLS 1.3 cipher suites to use. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_TLS13_CIPHERS.html](https://curl.haxx.se/libcurl/c/CURLOPT_TLS13_CIPHERS.html) */ tls13Ciphers?: string | number | boolean | null; /** * TLS authentication password. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_TLSAUTH_PASSWORD.html](https://curl.haxx.se/libcurl/c/CURLOPT_TLSAUTH_PASSWORD.html) */ TLSAUTH_PASSWORD?: string | number | boolean | null; /** * TLS authentication password. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_TLSAUTH_PASSWORD.html](https://curl.haxx.se/libcurl/c/CURLOPT_TLSAUTH_PASSWORD.html) */ tlsAuthPassword?: string | number | boolean | null; /** * TLS authentication methods. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_TLSAUTH_TYPE.html](https://curl.haxx.se/libcurl/c/CURLOPT_TLSAUTH_TYPE.html) */ TLSAUTH_TYPE?: string | number | boolean | null; /** * TLS authentication methods. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_TLSAUTH_TYPE.html](https://curl.haxx.se/libcurl/c/CURLOPT_TLSAUTH_TYPE.html) */ tlsAuthType?: string | number | boolean | null; /** * TLS authentication user name. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_TLSAUTH_USERNAME.html](https://curl.haxx.se/libcurl/c/CURLOPT_TLSAUTH_USERNAME.html) */ TLSAUTH_USERNAME?: string | number | boolean | null; /** * TLS authentication user name. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_TLSAUTH_USERNAME.html](https://curl.haxx.se/libcurl/c/CURLOPT_TLSAUTH_USERNAME.html) */ tlsAuthUsername?: string | number | boolean | null; /** * Set callback for sending trailing headers. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_TRAILERFUNCTION.html](https://curl.haxx.se/libcurl/c/CURLOPT_TRAILERFUNCTION.html) */ TRAILERFUNCTION?: ((this: EasyNativeBinding) => string[] | false) | null; /** * Set callback for sending trailing headers. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_TRAILERFUNCTION.html](https://curl.haxx.se/libcurl/c/CURLOPT_TRAILERFUNCTION.html) */ trailerFunction?: ((this: EasyNativeBinding) => string[] | false) | null; /** * Request Transfer-Encoding. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_TRANSFER_ENCODING.html](https://curl.haxx.se/libcurl/c/CURLOPT_TRANSFER_ENCODING.html) */ TRANSFER_ENCODING?: string | number | boolean | null; /** * Request Transfer-Encoding. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_TRANSFER_ENCODING.html](https://curl.haxx.se/libcurl/c/CURLOPT_TRANSFER_ENCODING.html) */ transferEncoding?: string | number | boolean | null; /** * Use text transfer. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_TRANSFERTEXT.html](https://curl.haxx.se/libcurl/c/CURLOPT_TRANSFERTEXT.html) */ TRANSFERTEXT?: string | number | boolean | null; /** * Use text transfer. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_TRANSFERTEXT.html](https://curl.haxx.se/libcurl/c/CURLOPT_TRANSFERTEXT.html) */ transferText?: string | number | boolean | null; /** * Path to a Unix domain socket. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_UNIX_SOCKET_PATH.html](https://curl.haxx.se/libcurl/c/CURLOPT_UNIX_SOCKET_PATH.html) */ UNIX_SOCKET_PATH?: string | number | boolean | null; /** * Path to a Unix domain socket. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_UNIX_SOCKET_PATH.html](https://curl.haxx.se/libcurl/c/CURLOPT_UNIX_SOCKET_PATH.html) */ unixSocketPath?: string | number | boolean | null; /** * Do not restrict authentication to original host. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_UNRESTRICTED_AUTH.html](https://curl.haxx.se/libcurl/c/CURLOPT_UNRESTRICTED_AUTH.html) */ UNRESTRICTED_AUTH?: string | number | boolean | null; /** * Do not restrict authentication to original host. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_UNRESTRICTED_AUTH.html](https://curl.haxx.se/libcurl/c/CURLOPT_UNRESTRICTED_AUTH.html) */ unrestrictedAuth?: string | number | boolean | null; /** * Sets the interval at which connection upkeep are performed. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_UPKEEP_INTERVAL_MS.html](https://curl.haxx.se/libcurl/c/CURLOPT_UPKEEP_INTERVAL_MS.html) */ UPKEEP_INTERVAL_MS?: string | number | boolean | null; /** * Sets the interval at which connection upkeep are performed. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_UPKEEP_INTERVAL_MS.html](https://curl.haxx.se/libcurl/c/CURLOPT_UPKEEP_INTERVAL_MS.html) */ upkeepIntervalMs?: string | number | boolean | null; /** * Upload data. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_UPLOAD.html](https://curl.haxx.se/libcurl/c/CURLOPT_UPLOAD.html) */ UPLOAD?: string | number | boolean | null; /** * Upload data. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_UPLOAD.html](https://curl.haxx.se/libcurl/c/CURLOPT_UPLOAD.html) */ upload?: string | number | boolean | null; /** * Set upload buffer size. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_UPLOAD_BUFFERSIZE.html](https://curl.haxx.se/libcurl/c/CURLOPT_UPLOAD_BUFFERSIZE.html) */ UPLOAD_BUFFERSIZE?: string | number | boolean | null; /** * Set upload buffer size. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_UPLOAD_BUFFERSIZE.html](https://curl.haxx.se/libcurl/c/CURLOPT_UPLOAD_BUFFERSIZE.html) */ uploadBufferSize?: string | number | boolean | null; /** * URL to work on. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_URL.html](https://curl.haxx.se/libcurl/c/CURLOPT_URL.html) */ URL?: string | number | boolean | null; /** * URL to work on. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_URL.html](https://curl.haxx.se/libcurl/c/CURLOPT_URL.html) */ url?: string | number | boolean | null; /** * Use TLS/SSL. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_USE_SSL.html](https://curl.haxx.se/libcurl/c/CURLOPT_USE_SSL.html) */ USE_SSL?: CurlUseSsl | null; /** * Use TLS/SSL. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_USE_SSL.html](https://curl.haxx.se/libcurl/c/CURLOPT_USE_SSL.html) */ useSsl?: CurlUseSsl | null; /** * User-Agent: header. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_USERAGENT.html](https://curl.haxx.se/libcurl/c/CURLOPT_USERAGENT.html) */ USERAGENT?: string | number | boolean | null; /** * User-Agent: header. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_USERAGENT.html](https://curl.haxx.se/libcurl/c/CURLOPT_USERAGENT.html) */ userAgent?: string | number | boolean | null; /** * User name. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_USERNAME.html](https://curl.haxx.se/libcurl/c/CURLOPT_USERNAME.html) */ USERNAME?: string | number | boolean | null; /** * User name. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_USERNAME.html](https://curl.haxx.se/libcurl/c/CURLOPT_USERNAME.html) */ username?: string | number | boolean | null; /** * User name and password. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_USERPWD.html](https://curl.haxx.se/libcurl/c/CURLOPT_USERPWD.html) */ USERPWD?: string | number | boolean | null; /** * User name and password. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_USERPWD.html](https://curl.haxx.se/libcurl/c/CURLOPT_USERPWD.html) */ userpwd?: string | number | boolean | null; /** * Display verbose information. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_VERBOSE.html](https://curl.haxx.se/libcurl/c/CURLOPT_VERBOSE.html) */ VERBOSE?: string | number | boolean | null; /** * Display verbose information. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_VERBOSE.html](https://curl.haxx.se/libcurl/c/CURLOPT_VERBOSE.html) */ verbose?: string | number | boolean | null; /** * Transfer multiple files according to a file name pattern. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_WILDCARDMATCH.html](https://curl.haxx.se/libcurl/c/CURLOPT_WILDCARDMATCH.html) */ WILDCARDMATCH?: string | number | boolean | null; /** * Transfer multiple files according to a file name pattern. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_WILDCARDMATCH.html](https://curl.haxx.se/libcurl/c/CURLOPT_WILDCARDMATCH.html) */ wildcardMatch?: string | number | boolean | null; /** * Callback for writing data. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_WRITEFUNCTION.html](https://curl.haxx.se/libcurl/c/CURLOPT_WRITEFUNCTION.html) */ WRITEFUNCTION?: | (( this: EasyNativeBinding, data: Buffer, size: number, nmemb: number ) => number) | null; /** * Callback for writing data. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_WRITEFUNCTION.html](https://curl.haxx.se/libcurl/c/CURLOPT_WRITEFUNCTION.html) */ writeFunction?: | (( this: EasyNativeBinding, data: Buffer, size: number, nmemb: number ) => number) | null; /** * Callback for progress meter. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_XFERINFOFUNCTION.html](https://curl.haxx.se/libcurl/c/CURLOPT_XFERINFOFUNCTION.html) */ XFERINFOFUNCTION?: | (( this: EasyNativeBinding, dltotal: number, dlnow: number, ultotal: number, ulnow: number ) => number | CurlProgressFunc) | null; /** * Callback for progress meter. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_XFERINFOFUNCTION.html](https://curl.haxx.se/libcurl/c/CURLOPT_XFERINFOFUNCTION.html) */ xferInfoFunction?: | (( this: EasyNativeBinding, dltotal: number, dlnow: number, ultotal: number, ulnow: number ) => number | CurlProgressFunc) | null; /** * OAuth2 bearer token. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_XOAUTH2_BEARER.html](https://curl.haxx.se/libcurl/c/CURLOPT_XOAUTH2_BEARER.html) */ XOAUTH2_BEARER?: string | number | boolean | null; /** * OAuth2 bearer token. * * Official libcurl documentation: : [https://curl.haxx.se/libcurl/c/CURLOPT_XOAUTH2_BEARER.html](https://curl.haxx.se/libcurl/c/CURLOPT_XOAUTH2_BEARER.html) */ xoauth2Bearer?: string | number | boolean | null;};
Modifiers
@public
type FileInfo
type FileInfo = { fileType: CurlFileType; fileName: string; time: Date; perm: number; uid: number; gid: number; size: number; hardLinks: number; strings: { time: string; perm: string; user: string; group: string; target: string | null; };};
This is the object passed as first parameter to the callback set with the
CHUNK_BGN_FUNCTION
option.Modifiers
@public
type HeaderInfo
type HeaderInfo = { result?: { version: string; code: number; reason: string; };} & { 'Set-Cookie'?: string[];} & { [headerKey: string]: string;};
Whe data parsing is enabled on the Curl.Curl instance, the headers parameter passed to the
end
event's callback will be one array of this type.Modifiers
@public
type HttpPostField
type HttpPostField = | { /** * Field name */ name: string; /** * Field contents */ contents: string; } | { /** * Field name */ name: string; /** * File path */ file: string; /** * Content-Type */ type?: string; /** * File name to be used when uploading */ filename?: string; };
The
HTTPPOST
option accepts an array with this type.Modifiers
@public
type MultiOptionName
type MultiOptionName = | 'CHUNK_LENGTH_PENALTY_SIZE' | 'CONTENT_LENGTH_PENALTY_SIZE' | 'MAX_CONCURRENT_STREAMS' | 'MAX_HOST_CONNECTIONS' | 'MAX_PIPELINE_LENGTH' | 'MAX_TOTAL_CONNECTIONS' | 'MAXCONNECTS' | 'PIPELINING' | 'PIPELINING_SERVER_BL' | 'PIPELINING_SITE_BL' | 'PUSHDATA' | 'PUSHFUNCTION' | 'SOCKETDATA' | 'SOCKETFUNCTION' | 'TIMERDATA' | 'TIMERFUNCTION';
Modifiers
@public
Package Files (48)
- dist/Curl.d.ts
- dist/Easy.d.ts
- dist/Multi.d.ts
- dist/Share.d.ts
- dist/curly.d.ts
- dist/enum/CurlAuth.d.ts
- dist/enum/CurlChunk.d.ts
- dist/enum/CurlCode.d.ts
- dist/enum/CurlFeature.d.ts
- dist/enum/CurlFileType.d.ts
- dist/enum/CurlFnMatchFunc.d.ts
- dist/enum/CurlFtpMethod.d.ts
- dist/enum/CurlFtpSsl.d.ts
- dist/enum/CurlGlobalInit.d.ts
- dist/enum/CurlGssApi.d.ts
- dist/enum/CurlHeader.d.ts
- dist/enum/CurlHsts.d.ts
- dist/enum/CurlHttpVersion.d.ts
- dist/enum/CurlInfoDebug.d.ts
- dist/enum/CurlIpResolve.d.ts
- dist/enum/CurlNetrc.d.ts
- dist/enum/CurlPause.d.ts
- dist/enum/CurlPipe.d.ts
- dist/enum/CurlProgressFunc.d.ts
- dist/enum/CurlProtocol.d.ts
- dist/enum/CurlProxy.d.ts
- dist/enum/CurlPush.d.ts
- dist/enum/CurlPx.d.ts
- dist/enum/CurlReadFunc.d.ts
- dist/enum/CurlRtspRequest.d.ts
- dist/enum/CurlShareLock.d.ts
- dist/enum/CurlShareOption.d.ts
- dist/enum/CurlSshAuth.d.ts
- dist/enum/CurlSslOpt.d.ts
- dist/enum/CurlSslVersion.d.ts
- dist/enum/CurlTimeCond.d.ts
- dist/enum/CurlUseSsl.d.ts
- dist/enum/CurlVersion.d.ts
- dist/enum/CurlWriteFunc.d.ts
- dist/enum/SocketState.d.ts
- dist/generated/CurlInfo.d.ts
- dist/generated/CurlOption.d.ts
- dist/generated/MultiOption.d.ts
- dist/index.d.ts
- dist/parseHeaders.d.ts
- dist/types/FileInfo.d.ts
- dist/types/Http2PushFrameHeaders.d.ts
- dist/types/HttpPostField.d.ts
Dependencies (7)
Dev Dependencies (42)
- @commitlint/cli
- @electron/rebuild
- @microsoft/api-documenter
- @microsoft/api-extractor
- @octokit/rest
- @types/body-parser
- @types/cookie-parser
- @types/express
- @types/formidable
- @types/node
- @typescript-eslint/eslint-plugin
- @typescript-eslint/parser
- cheerio
- clang-format
- cookie-parser
- electron
- eslint
- eslint-config-prettier
- eslint-formatter-friendly
- eslint-plugin-import
- eslint-plugin-prettier
- express
- formidable
- http-auth
- http-auth-connect
- husky
- lint-staged
- node-abi
- np
- nyc
- prettier
- progress
- sort-package-json
- ts-node
- tslint
- tslint-config-airbnb
- tslint-config-prettier
- typedoc
- typedoc-plugin-ga
- typedoc-plugin-nojekyll
- typescript
- vitest
Peer Dependencies (0)
No peer dependencies.
Badge
To add a badge like this oneto your package's README, use the codes available below.
You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/node-libcurl
.
- Markdown[](https://www.jsdocs.io/package/node-libcurl)
- HTML<a href="https://www.jsdocs.io/package/node-libcurl"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>
- Updated .
Package analyzed in 11682 ms. - Missing or incorrect documentation? Open an issue for this package.