UNPKG

node-libcurl-ja3

Version:

Node.js native bindings for libcurl-impersonate. Impersonate Chrome, Edge, Firefox and Safari TLS fingerprints.

1,464 lines 59.9 kB
"use strict"; /** * Copyright (c) Jonathan Cardoso Machado. All Rights Reserved. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ // This file was generated by scripts/build-constants.js on 2025-12-21T00:19:27.003Z // Do not edit manually Object.defineProperty(exports, "__esModule", { value: true }); exports.CurlOptionCamelCaseMap = void 0; exports.CurlOptionCamelCaseMap = { /** * Path to an abstract Unix domain socket. * * @Link [`CURLOPT_ABSTRACT_UNIX_SOCKET`](https://curl.haxx.se/libcurl/c/CURLOPT_ABSTRACT_UNIX_SOCKET.html) */ abstractUnixSocket: 'ABSTRACT_UNIX_SOCKET', /** * Accept-Encoding and automatic decompressing data. * * @Link [`CURLOPT_ACCEPT_ENCODING`](https://curl.haxx.se/libcurl/c/CURLOPT_ACCEPT_ENCODING.html) */ acceptEncoding: 'ACCEPT_ENCODING', /** * Timeout for waiting for the server's connect back to be accepted. * * @Link [`CURLOPT_ACCEPTTIMEOUT_MS`](https://curl.haxx.se/libcurl/c/CURLOPT_ACCEPTTIMEOUT_MS.html) */ acceptTimeoutMs: 'ACCEPTTIMEOUT_MS', /** * IPv6 scope for local addresses. * * @Link [`CURLOPT_ADDRESS_SCOPE`](https://curl.haxx.se/libcurl/c/CURLOPT_ADDRESS_SCOPE.html) */ addressScope: 'ADDRESS_SCOPE', /** * Specify the Alt-Svc: cache filename. * * @Link [`CURLOPT_ALTSVC`](https://curl.haxx.se/libcurl/c/CURLOPT_ALTSVC.html) */ altSvc: 'ALTSVC', /** * Enable and configure Alt-Svc: treatment. * * @Link [`CURLOPT_ALTSVC_CTRL`](https://curl.haxx.se/libcurl/c/CURLOPT_ALTSVC_CTRL.html) */ altSvcCtrl: 'ALTSVC_CTRL', /** * Append to remote file. * * @Link [`CURLOPT_APPEND`](https://curl.haxx.se/libcurl/c/CURLOPT_APPEND.html) */ append: 'APPEND', /** * Automatically set Referer: header. * * @Link [`CURLOPT_AUTOREFERER`](https://curl.haxx.se/libcurl/c/CURLOPT_AUTOREFERER.html) */ autoReferer: 'AUTOREFERER', /** * AWS HTTP V4 Signature. * * @Link [`CURLOPT_AWS_SIGV4`](https://curl.haxx.se/libcurl/c/CURLOPT_AWS_SIGV4.html) */ awsSigV4: 'AWS_SIGV4', /** * Ask for alternate buffer size. * * @Link [`CURLOPT_BUFFERSIZE`](https://curl.haxx.se/libcurl/c/CURLOPT_BUFFERSIZE.html) */ bufferSize: 'BUFFERSIZE', /** * Timeout for CA cache. * * @Link [`CURLOPT_CA_CACHE_TIMEOUT`](https://curl.haxx.se/libcurl/c/CURLOPT_CA_CACHE_TIMEOUT.html) */ caCacheTimeout: 'CA_CACHE_TIMEOUT', /** * CA cert bundle. * * @Link [`CURLOPT_CAINFO`](https://curl.haxx.se/libcurl/c/CURLOPT_CAINFO.html) */ caInfo: 'CAINFO', /** * CA cert bundle memory buffer. * * @Link [`CURLOPT_CAINFO_BLOB`](https://curl.haxx.se/libcurl/c/CURLOPT_CAINFO_BLOB.html) */ caInfoBlob: 'CAINFO_BLOB', /** * Path to CA cert bundle. * * @Link [`CURLOPT_CAPATH`](https://curl.haxx.se/libcurl/c/CURLOPT_CAPATH.html) */ caPath: 'CAPATH', /** * Extract certificate info. * * @Link [`CURLOPT_CERTINFO`](https://curl.haxx.se/libcurl/c/CURLOPT_CERTINFO.html) */ certInfo: 'CERTINFO', /** * Callback for wildcard download start of chunk. * * @Link [`CURLOPT_CHUNK_BGN_FUNCTION`](https://curl.haxx.se/libcurl/c/CURLOPT_CHUNK_BGN_FUNCTION.html) */ chunkBgnFunction: 'CHUNK_BGN_FUNCTION', /** * Callback for wildcard download end of chunk. * * @Link [`CURLOPT_CHUNK_END_FUNCTION`](https://curl.haxx.se/libcurl/c/CURLOPT_CHUNK_END_FUNCTION.html) */ chunkEndFunction: 'CHUNK_END_FUNCTION', /** * Only connect, nothing else. * * @Link [`CURLOPT_CONNECT_ONLY`](https://curl.haxx.se/libcurl/c/CURLOPT_CONNECT_ONLY.html) */ connectOnly: 'CONNECT_ONLY', /** * Connect to a specific host and port. * * @Link [`CURLOPT_CONNECT_TO`](https://curl.haxx.se/libcurl/c/CURLOPT_CONNECT_TO.html) */ connectTo: 'CONNECT_TO', /** * Timeout for the connection phase. * * @Link [`CURLOPT_CONNECTTIMEOUT`](https://curl.haxx.se/libcurl/c/CURLOPT_CONNECTTIMEOUT.html) */ connectTimeout: 'CONNECTTIMEOUT', /** * Millisecond timeout for the connection phase. * * @Link [`CURLOPT_CONNECTTIMEOUT_MS`](https://curl.haxx.se/libcurl/c/CURLOPT_CONNECTTIMEOUT_MS.html) */ connectTimeoutMs: 'CONNECTTIMEOUT_MS', /** * Cookie(s) to send. * * @Link [`CURLOPT_COOKIE`](https://curl.haxx.se/libcurl/c/CURLOPT_COOKIE.html) */ cookie: 'COOKIE', /** * File to read cookies from. * * @Link [`CURLOPT_COOKIEFILE`](https://curl.haxx.se/libcurl/c/CURLOPT_COOKIEFILE.html) */ cookieFile: 'COOKIEFILE', /** * File to write cookies to. * * @Link [`CURLOPT_COOKIEJAR`](https://curl.haxx.se/libcurl/c/CURLOPT_COOKIEJAR.html) */ cookieJar: 'COOKIEJAR', /** * Add or control cookies. * * @Link [`CURLOPT_COOKIELIST`](https://curl.haxx.se/libcurl/c/CURLOPT_COOKIELIST.html) */ cookieList: 'COOKIELIST', /** * Start a new cookie session. * * @Link [`CURLOPT_COOKIESESSION`](https://curl.haxx.se/libcurl/c/CURLOPT_COOKIESESSION.html) */ cookieSession: 'COOKIESESSION', /** * Convert newlines. * * @Link [`CURLOPT_CRLF`](https://curl.haxx.se/libcurl/c/CURLOPT_CRLF.html) */ crlf: 'CRLF', /** * Certificate Revocation List. * * @Link [`CURLOPT_CRLFILE`](https://curl.haxx.se/libcurl/c/CURLOPT_CRLFILE.html) */ crlFile: 'CRLFILE', /** * Custom request/method. * * @Link [`CURLOPT_CUSTOMREQUEST`](https://curl.haxx.se/libcurl/c/CURLOPT_CUSTOMREQUEST.html) */ customRequest: 'CUSTOMREQUEST', /** * Callback for debug information. * * @Link [`CURLOPT_DEBUGFUNCTION`](https://curl.haxx.se/libcurl/c/CURLOPT_DEBUGFUNCTION.html) */ debugFunction: 'DEBUGFUNCTION', /** * Default protocol. * * @Link [`CURLOPT_DEFAULT_PROTOCOL`](https://curl.haxx.se/libcurl/c/CURLOPT_DEFAULT_PROTOCOL.html) */ defaultProtocol: 'DEFAULT_PROTOCOL', /** * List only. * * @Link [`CURLOPT_DIRLISTONLY`](https://curl.haxx.se/libcurl/c/CURLOPT_DIRLISTONLY.html) */ dirListOnly: 'DIRLISTONLY', /** * Do not allow username in URL. * * @Link [`CURLOPT_DISALLOW_USERNAME_IN_URL`](https://curl.haxx.se/libcurl/c/CURLOPT_DISALLOW_USERNAME_IN_URL.html) */ disallowUsernameInUrl: 'DISALLOW_USERNAME_IN_URL', /** * Timeout for DNS cache. * * @Link [`CURLOPT_DNS_CACHE_TIMEOUT`](https://curl.haxx.se/libcurl/c/CURLOPT_DNS_CACHE_TIMEOUT.html) */ dnsCacheTimeout: 'DNS_CACHE_TIMEOUT', /** * Bind name resolves to this interface. * * @Link [`CURLOPT_DNS_INTERFACE`](https://curl.haxx.se/libcurl/c/CURLOPT_DNS_INTERFACE.html) */ dnsInterface: 'DNS_INTERFACE', /** * Bind name resolves to this IP4 address. * * @Link [`CURLOPT_DNS_LOCAL_IP4`](https://curl.haxx.se/libcurl/c/CURLOPT_DNS_LOCAL_IP4.html) */ dnsLocalIp4: 'DNS_LOCAL_IP4', /** * Bind name resolves to this IP6 address. * * @Link [`CURLOPT_DNS_LOCAL_IP6`](https://curl.haxx.se/libcurl/c/CURLOPT_DNS_LOCAL_IP6.html) */ dnsLocalIp6: 'DNS_LOCAL_IP6', /** * Preferred DNS servers. * * @Link [`CURLOPT_DNS_SERVERS`](https://curl.haxx.se/libcurl/c/CURLOPT_DNS_SERVERS.html) */ dnsServers: 'DNS_SERVERS', /** * Shuffle addresses before use. * * @Link [`CURLOPT_DNS_SHUFFLE_ADDRESSES`](https://curl.haxx.se/libcurl/c/CURLOPT_DNS_SHUFFLE_ADDRESSES.html) */ dnsShuffleAddresses: 'DNS_SHUFFLE_ADDRESSES', /** * OBSOLETE Enable global DNS cache. * * @Link [`CURLOPT_DNS_USE_GLOBAL_CACHE`](https://curl.haxx.se/libcurl/c/CURLOPT_DNS_USE_GLOBAL_CACHE.html) */ dnsUseGlobalCache: 'DNS_USE_GLOBAL_CACHE', /** * Verify the hostname in the DoH (DNS-over-HTTPS) SSL certificate. * * @Link [`CURLOPT_DOH_SSL_VERIFYHOST`](https://curl.haxx.se/libcurl/c/CURLOPT_DOH_SSL_VERIFYHOST.html) */ dohSslVerifyHost: 'DOH_SSL_VERIFYHOST', /** * Verify the DoH (DNS-over-HTTPS) SSL certificate. * * @Link [`CURLOPT_DOH_SSL_VERIFYPEER`](https://curl.haxx.se/libcurl/c/CURLOPT_DOH_SSL_VERIFYPEER.html) */ dohSslVerifyPeer: 'DOH_SSL_VERIFYPEER', /** * Verify the DoH (DNS-over-HTTPS) SSL certificate's status. * * @Link [`CURLOPT_DOH_SSL_VERIFYSTATUS`](https://curl.haxx.se/libcurl/c/CURLOPT_DOH_SSL_VERIFYSTATUS.html) */ dohSslVerifyStatus: 'DOH_SSL_VERIFYSTATUS', /** * Use this DoH server for name resolves. * * @Link [`CURLOPT_DOH_URL`](https://curl.haxx.se/libcurl/c/CURLOPT_DOH_URL.html) */ dohUrl: 'DOH_URL', /** * Set the configuration for ECH. * * @Link [`CURLOPT_ECH`](https://curl.haxx.se/libcurl/c/CURLOPT_ECH.html) */ ech: 'ECH', /** * OBSOLETE Identify EGD socket for entropy. * * @Link [`CURLOPT_EGDSOCKET`](https://curl.haxx.se/libcurl/c/CURLOPT_EGDSOCKET.html) */ egdSocket: 'EGDSOCKET', /** * 100-continue timeout. * * @Link [`CURLOPT_EXPECT_100_TIMEOUT_MS`](https://curl.haxx.se/libcurl/c/CURLOPT_EXPECT_100_TIMEOUT_MS.html) */ expect100TimeoutMs: 'EXPECT_100_TIMEOUT_MS', /** * Fail on HTTP 4xx errors. * * @Link [`CURLOPT_FAILONERROR`](https://curl.haxx.se/libcurl/c/CURLOPT_FAILONERROR.html) */ failOnError: 'FAILONERROR', /** * Request file modification date and time. * * @Link [`CURLOPT_FILETIME`](https://curl.haxx.se/libcurl/c/CURLOPT_FILETIME.html) */ fileTime: 'FILETIME', /** * Callback for wildcard matching. * * @Link [`CURLOPT_FNMATCH_FUNCTION`](https://curl.haxx.se/libcurl/c/CURLOPT_FNMATCH_FUNCTION.html) */ fnMatchFunction: 'FNMATCH_FUNCTION', /** * Follow HTTP redirects. * * @Link [`CURLOPT_FOLLOWLOCATION`](https://curl.haxx.se/libcurl/c/CURLOPT_FOLLOWLOCATION.html) */ followLocation: 'FOLLOWLOCATION', /** * Prevent subsequent connections from reusing this. * * @Link [`CURLOPT_FORBID_REUSE`](https://curl.haxx.se/libcurl/c/CURLOPT_FORBID_REUSE.html) */ forbIdReuse: 'FORBID_REUSE', /** * Use a new connection. * * @Link [`CURLOPT_FRESH_CONNECT`](https://curl.haxx.se/libcurl/c/CURLOPT_FRESH_CONNECT.html) */ freshConnect: 'FRESH_CONNECT', /** * Send ACCT command. * * @Link [`CURLOPT_FTP_ACCOUNT`](https://curl.haxx.se/libcurl/c/CURLOPT_FTP_ACCOUNT.html) */ ftpAccount: 'FTP_ACCOUNT', /** * Alternative to USER. * * @Link [`CURLOPT_FTP_ALTERNATIVE_TO_USER`](https://curl.haxx.se/libcurl/c/CURLOPT_FTP_ALTERNATIVE_TO_USER.html) */ ftpAlternativeToUser: 'FTP_ALTERNATIVE_TO_USER', /** * Create missing directories on the remote server. * * @Link [`CURLOPT_FTP_CREATE_MISSING_DIRS`](https://curl.haxx.se/libcurl/c/CURLOPT_FTP_CREATE_MISSING_DIRS.html) */ ftpCreateMissingDirs: 'FTP_CREATE_MISSING_DIRS', /** * Specify how to reach files. * * @Link [`CURLOPT_FTP_FILEMETHOD`](https://curl.haxx.se/libcurl/c/CURLOPT_FTP_FILEMETHOD.html) */ ftpFileMethod: 'FTP_FILEMETHOD', /** * Ignore the IP address in the PASV response. * * @Link [`CURLOPT_FTP_SKIP_PASV_IP`](https://curl.haxx.se/libcurl/c/CURLOPT_FTP_SKIP_PASV_IP.html) */ ftpSkipPasvIp: 'FTP_SKIP_PASV_IP', /** * Back to non-TLS again after authentication. * * @Link [`CURLOPT_FTP_SSL_CCC`](https://curl.haxx.se/libcurl/c/CURLOPT_FTP_SSL_CCC.html) */ ftpSslCcc: 'FTP_SSL_CCC', /** * Use EPRT. * * @Link [`CURLOPT_FTP_USE_EPRT`](https://curl.haxx.se/libcurl/c/CURLOPT_FTP_USE_EPRT.html) */ ftpUseEprt: 'FTP_USE_EPRT', /** * Use EPSV. * * @Link [`CURLOPT_FTP_USE_EPSV`](https://curl.haxx.se/libcurl/c/CURLOPT_FTP_USE_EPSV.html) */ ftpUseEpsv: 'FTP_USE_EPSV', /** * Use PRET. * * @Link [`CURLOPT_FTP_USE_PRET`](https://curl.haxx.se/libcurl/c/CURLOPT_FTP_USE_PRET.html) */ ftpUsePret: 'FTP_USE_PRET', /** * Use active FTP. * * @Link [`CURLOPT_FTPPORT`](https://curl.haxx.se/libcurl/c/CURLOPT_FTPPORT.html) */ ftpPort: 'FTPPORT', /** * Control how to do TLS. * * @Link [`CURLOPT_FTPSSLAUTH`](https://curl.haxx.se/libcurl/c/CURLOPT_FTPSSLAUTH.html) */ ftpSslAuth: 'FTPSSLAUTH', /** * Disable GSS-API delegation. * * @Link [`CURLOPT_GSSAPI_DELEGATION`](https://curl.haxx.se/libcurl/c/CURLOPT_GSSAPI_DELEGATION.html) */ gssapiDelegation: 'GSSAPI_DELEGATION', /** * Timeout for happy eyeballs. * * @Link [`CURLOPT_HAPPY_EYEBALLS_TIMEOUT_MS`](https://curl.haxx.se/libcurl/c/CURLOPT_HAPPY_EYEBALLS_TIMEOUT_MS.html) */ happyEyeballsTimeoutMs: 'HAPPY_EYEBALLS_TIMEOUT_MS', /** * Spoof the client IP in an HAProxy PROXY protocol v1 header. * * @Link [`CURLOPT_HAPROXY_CLIENT_IP`](https://curl.haxx.se/libcurl/c/CURLOPT_HAPROXY_CLIENT_IP.html) */ haProxyClientIp: 'HAPROXY_CLIENT_IP', /** * Send an HAProxy PROXY protocol v1 header. * * @Link [`CURLOPT_HAPROXYPROTOCOL`](https://curl.haxx.se/libcurl/c/CURLOPT_HAPROXYPROTOCOL.html) */ haProxyProtocol: 'HAPROXYPROTOCOL', /** * Include the header in the body output. * * @Link [`CURLOPT_HEADER`](https://curl.haxx.se/libcurl/c/CURLOPT_HEADER.html) */ header: 'HEADER', /** * Callback for writing received headers. * * @Link [`CURLOPT_HEADERFUNCTION`](https://curl.haxx.se/libcurl/c/CURLOPT_HEADERFUNCTION.html) */ headerFunction: 'HEADERFUNCTION', /** * Control custom headers. * * @Link [`CURLOPT_HEADEROPT`](https://curl.haxx.se/libcurl/c/CURLOPT_HEADEROPT.html) */ headerOpt: 'HEADEROPT', /** * Set HSTS cache file. * * @Link [`CURLOPT_HSTS`](https://curl.haxx.se/libcurl/c/CURLOPT_HSTS.html) */ hsts: 'HSTS', /** * Enable HSTS. * * @Link [`CURLOPT_HSTS_CTRL`](https://curl.haxx.se/libcurl/c/CURLOPT_HSTS_CTRL.html) */ hstsCtrl: 'HSTS_CTRL', /** * 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. * * @Link [`CURLOPT_HSTSREADFUNCTION`](https://curl.haxx.se/libcurl/c/CURLOPT_HSTSREADFUNCTION.html) */ hstsReadFunction: 'HSTSREADFUNCTION', /** * Set HSTS write callback. * * @Link [`CURLOPT_HSTSWRITEFUNCTION`](https://curl.haxx.se/libcurl/c/CURLOPT_HSTSWRITEFUNCTION.html) */ hstsWriteFunction: 'HSTSWRITEFUNCTION', /** * Disable Content decoding. * * @Link [`CURLOPT_HTTP_CONTENT_DECODING`](https://curl.haxx.se/libcurl/c/CURLOPT_HTTP_CONTENT_DECODING.html) */ httpContentDecoding: 'HTTP_CONTENT_DECODING', /** * Disable Transfer decoding. * * @Link [`CURLOPT_HTTP_TRANSFER_DECODING`](https://curl.haxx.se/libcurl/c/CURLOPT_HTTP_TRANSFER_DECODING.html) */ httpTransferDecoding: 'HTTP_TRANSFER_DECODING', /** * HTTP version to use. * * @Link [`CURLOPT_HTTP_VERSION`](https://curl.haxx.se/libcurl/c/CURLOPT_HTTP_VERSION.html) */ httpVersion: 'HTTP_VERSION', /** * Allow HTTP/0.9 responses. * * @Link [`CURLOPT_HTTP09_ALLOWED`](https://curl.haxx.se/libcurl/c/CURLOPT_HTTP09_ALLOWED.html) */ http09Allowed: 'HTTP09_ALLOWED', /** * curl-impersonate: Do not set the priority bit in http2 header frame. * * @Link [`CURLOPT_HTTP2_NO_PRIORITY`](https://github.com/lexiforest/curl-impersonate/blob/2447279b1a388ba907f4bfe4fe02aadd1dc24376/patches/curl.patch#L188) */ http2NoPriority: 'HTTP2_NO_PRIORITY', /** * curl-impersonate: Set the order of the HTTP/2 pseudo headers. The value must contain the letters 'm', 'a', 's', 'p' representing the pseudo-headers ":method", ":authority", ":scheme", ":path" in the desired order of appearance in the HTTP/2 HEADERS frame. * * @Link [`CURLOPT_HTTP2_PSEUDO_HEADERS_ORDER`](https://github.com/lexiforest/curl-impersonate/blob/2447279b1a388ba907f4bfe4fe02aadd1dc24376/patches/curl.patch#L140) */ http2PseudoHeadersOrder: 'HTTP2_PSEUDO_HEADERS_ORDER', /** * curl-impersonate: HTTP2 settings frame keys and values, format: 1:v;2:v;3:v. * * @Link [`CURLOPT_HTTP2_SETTINGS`](https://github.com/lexiforest/curl-impersonate/blob/2447279b1a388ba907f4bfe4fe02aadd1dc24376/patches/curl.patch#L143) */ http2Settings: 'HTTP2_SETTINGS', /** * curl-impersonate: Set the initial streams settings for http2. * * @Link [`CURLOPT_HTTP2_STREAMS`](https://github.com/lexiforest/curl-impersonate/blob/2447279b1a388ba907f4bfe4fe02aadd1dc24376/patches/curl.patch#L155) */ http2Streams: 'HTTP2_STREAMS', /** * curl-impersonate: HTTP2 initial window update. * * @Link [`CURLOPT_HTTP2_WINDOW_UPDATE`](https://github.com/lexiforest/curl-impersonate/blob/2447279b1a388ba907f4bfe4fe02aadd1dc24376/patches/curl.patch#L152) */ http2WindowUpdate: 'HTTP2_WINDOW_UPDATE', /** * Alternative versions of 200 OK. * * @Link [`CURLOPT_HTTP200ALIASES`](https://curl.haxx.se/libcurl/c/CURLOPT_HTTP200ALIASES.html) */ http200aliases: 'HTTP200ALIASES', /** * HTTP server authentication methods. * * @Link [`CURLOPT_HTTPAUTH`](https://curl.haxx.se/libcurl/c/CURLOPT_HTTPAUTH.html) */ httpAuth: 'HTTPAUTH', /** * curl-impersonate: A list of headers used by the impersonated browser. If given, merged with CURLOPT_HTTPHEADER. * * @Link [`CURLOPT_HTTPBASEHEADER`](https://github.com/lexiforest/curl-impersonate/blob/2447279b1a388ba907f4bfe4fe02aadd1dc24376/patches/curl.patch#L111) */ httpBaseHeader: 'HTTPBASEHEADER', /** * Do an HTTP GET request. * * @Link [`CURLOPT_HTTPGET`](https://curl.haxx.se/libcurl/c/CURLOPT_HTTPGET.html) */ httpGet: 'HTTPGET', /** * Custom HTTP headers. * * @Link [`CURLOPT_HTTPHEADER`](https://curl.haxx.se/libcurl/c/CURLOPT_HTTPHEADER.html) */ httpHeader: 'HTTPHEADER', /** * Deprecated option Multipart formpost HTTP POST. * * @Link [`CURLOPT_HTTPPOST`](https://curl.haxx.se/libcurl/c/CURLOPT_HTTPPOST.html) */ httpPost: 'HTTPPOST', /** * Tunnel through the HTTP proxy. * * @Link [`CURLOPT_HTTPPROXYTUNNEL`](https://curl.haxx.se/libcurl/c/CURLOPT_HTTPPROXYTUNNEL.html) */ httpProxyTunnel: 'HTTPPROXYTUNNEL', /** * Ignore Content-Length. * * @Link [`CURLOPT_IGNORE_CONTENT_LENGTH`](https://curl.haxx.se/libcurl/c/CURLOPT_IGNORE_CONTENT_LENGTH.html) */ ignoreContentLength: 'IGNORE_CONTENT_LENGTH', /** * curl-impersonate: The master option for setting an impersonate target * * @Link [`CURLOPT_IMPERSONATE`](https://github.com/lexiforest/curl-impersonate/blob/2447279b1a388ba907f4bfe4fe02aadd1dc24376/patches/curl.patch#L107) */ impersonate: 'IMPERSONATE', /** * Size of file to send. * * @Link [`CURLOPT_INFILESIZE`](https://curl.haxx.se/libcurl/c/CURLOPT_INFILESIZE.html) */ inFileSize: 'INFILESIZE', /** * Size of file to send. * * @Link [`CURLOPT_INFILESIZE_LARGE`](https://curl.haxx.se/libcurl/c/CURLOPT_INFILESIZE_LARGE.html) */ inFileSizeLarge: 'INFILESIZE_LARGE', /** * Bind connection locally to this. * * @Link [`CURLOPT_INTERFACE`](https://curl.haxx.se/libcurl/c/CURLOPT_INTERFACE.html) */ interface: 'INTERFACE', /** * IP version to use. * * @Link [`CURLOPT_IPRESOLVE`](https://curl.haxx.se/libcurl/c/CURLOPT_IPRESOLVE.html) */ ipResolve: 'IPRESOLVE', /** * Issuer certificate. * * @Link [`CURLOPT_ISSUERCERT`](https://curl.haxx.se/libcurl/c/CURLOPT_ISSUERCERT.html) */ issuerCert: 'ISSUERCERT', /** * Issuer certificate memory buffer. * * @Link [`CURLOPT_ISSUERCERT_BLOB`](https://curl.haxx.se/libcurl/c/CURLOPT_ISSUERCERT_BLOB.html) */ issuerCertBlob: 'ISSUERCERT_BLOB', /** * Keep sending on HTTP \>= 300 errors. * * @Link [`CURLOPT_KEEP_SENDING_ON_ERROR`](https://curl.haxx.se/libcurl/c/CURLOPT_KEEP_SENDING_ON_ERROR.html) */ keepSendingOnError: 'KEEP_SENDING_ON_ERROR', /** * Client key password. * * @Link [`CURLOPT_KEYPASSWD`](https://curl.haxx.se/libcurl/c/CURLOPT_KEYPASSWD.html) */ keyPasswd: 'KEYPASSWD', /** * OBSOLETE. Kerberos security level. * * @Link [`CURLOPT_KRBLEVEL`](https://curl.haxx.se/libcurl/c/CURLOPT_KRBLEVEL.html) */ krbLevel: 'KRBLEVEL', /** * Bind connection locally to this port. * * @Link [`CURLOPT_LOCALPORT`](https://curl.haxx.se/libcurl/c/CURLOPT_LOCALPORT.html) */ localPort: 'LOCALPORT', /** * Bind connection locally to port range. * * @Link [`CURLOPT_LOCALPORTRANGE`](https://curl.haxx.se/libcurl/c/CURLOPT_LOCALPORTRANGE.html) */ localPortRange: 'LOCALPORTRANGE', /** * Login options. * * @Link [`CURLOPT_LOGIN_OPTIONS`](https://curl.haxx.se/libcurl/c/CURLOPT_LOGIN_OPTIONS.html) */ loginOptions: 'LOGIN_OPTIONS', /** * Low speed limit to abort transfer. * * @Link [`CURLOPT_LOW_SPEED_LIMIT`](https://curl.haxx.se/libcurl/c/CURLOPT_LOW_SPEED_LIMIT.html) */ lowSpeedLimit: 'LOW_SPEED_LIMIT', /** * Time to be below the speed to trigger low speed abort. * * @Link [`CURLOPT_LOW_SPEED_TIME`](https://curl.haxx.se/libcurl/c/CURLOPT_LOW_SPEED_TIME.html) */ lowSpeedTime: 'LOW_SPEED_TIME', /** * Authentication address. * * @Link [`CURLOPT_MAIL_AUTH`](https://curl.haxx.se/libcurl/c/CURLOPT_MAIL_AUTH.html) */ mailAuth: 'MAIL_AUTH', /** * Address of the sender. * * @Link [`CURLOPT_MAIL_FROM`](https://curl.haxx.se/libcurl/c/CURLOPT_MAIL_FROM.html) */ mailFrom: 'MAIL_FROM', /** * Address of the recipients. * * @Link [`CURLOPT_MAIL_RCPT`](https://curl.haxx.se/libcurl/c/CURLOPT_MAIL_RCPT.html) */ mailRcpt: 'MAIL_RCPT', /** * Allow RCPT TO command to fail for some recipients. * * @Link [`CURLOPT_MAIL_RCPT_ALLOWFAILS`](https://curl.haxx.se/libcurl/c/CURLOPT_MAIL_RCPT_ALLOWFAILS.html) */ mailRcptAllowfails: 'MAIL_RCPT_ALLOWFAILS', /** * Cap the download speed to this. * * @Link [`CURLOPT_MAX_RECV_SPEED_LARGE`](https://curl.haxx.se/libcurl/c/CURLOPT_MAX_RECV_SPEED_LARGE.html) */ maxRecvSpeedLarge: 'MAX_RECV_SPEED_LARGE', /** * Cap the upload speed to this. * * @Link [`CURLOPT_MAX_SEND_SPEED_LARGE`](https://curl.haxx.se/libcurl/c/CURLOPT_MAX_SEND_SPEED_LARGE.html) */ maxSendSpeedLarge: 'MAX_SEND_SPEED_LARGE', /** * Limit the age (idle time) of connections for reuse. * * @Link [`CURLOPT_MAXAGE_CONN`](https://curl.haxx.se/libcurl/c/CURLOPT_MAXAGE_CONN.html) */ maxAgeConn: 'MAXAGE_CONN', /** * Maximum number of connections in the connection pool. * * @Link [`CURLOPT_MAXCONNECTS`](https://curl.haxx.se/libcurl/c/CURLOPT_MAXCONNECTS.html) */ maxConnects: 'MAXCONNECTS', /** * Maximum file size to get. * * @Link [`CURLOPT_MAXFILESIZE`](https://curl.haxx.se/libcurl/c/CURLOPT_MAXFILESIZE.html) */ maxFileSize: 'MAXFILESIZE', /** * Maximum file size to get. * * @Link [`CURLOPT_MAXFILESIZE_LARGE`](https://curl.haxx.se/libcurl/c/CURLOPT_MAXFILESIZE_LARGE.html) */ maxFileSizeLarge: 'MAXFILESIZE_LARGE', /** * Limit the age (since creation) of connections for reuse. * * @Link [`CURLOPT_MAXLIFETIME_CONN`](https://curl.haxx.se/libcurl/c/CURLOPT_MAXLIFETIME_CONN.html) */ maxLifetimeConn: 'MAXLIFETIME_CONN', /** * Maximum number of redirects to follow. * * @Link [`CURLOPT_MAXREDIRS`](https://curl.haxx.se/libcurl/c/CURLOPT_MAXREDIRS.html) */ maxRedirs: 'MAXREDIRS', /** * Enable .netrc parsing. * * @Link [`CURLOPT_NETRC`](https://curl.haxx.se/libcurl/c/CURLOPT_NETRC.html) */ netrc: 'NETRC', /** * .netrc filename. * * @Link [`CURLOPT_NETRC_FILE`](https://curl.haxx.se/libcurl/c/CURLOPT_NETRC_FILE.html) */ netrcFile: 'NETRC_FILE', /** * Mode for creating new remote directories. * * @Link [`CURLOPT_NEW_DIRECTORY_PERMS`](https://curl.haxx.se/libcurl/c/CURLOPT_NEW_DIRECTORY_PERMS.html) */ newDirectoryPerms: 'NEW_DIRECTORY_PERMS', /** * Mode for creating new remote files. * * @Link [`CURLOPT_NEW_FILE_PERMS`](https://curl.haxx.se/libcurl/c/CURLOPT_NEW_FILE_PERMS.html) */ newFilePerms: 'NEW_FILE_PERMS', /** * Do not get the body contents. * * @Link [`CURLOPT_NOBODY`](https://curl.haxx.se/libcurl/c/CURLOPT_NOBODY.html) */ nobody: 'NOBODY', /** * Shut off the progress meter. * * @Link [`CURLOPT_NOPROGRESS`](https://curl.haxx.se/libcurl/c/CURLOPT_NOPROGRESS.html) */ noProgress: 'NOPROGRESS', /** * Filter out hosts from proxy use. * * @Link [`CURLOPT_NOPROXY`](https://curl.haxx.se/libcurl/c/CURLOPT_NOPROXY.html) */ noProxy: 'NOPROXY', /** * Do not install signal handlers. * * @Link [`CURLOPT_NOSIGNAL`](https://curl.haxx.se/libcurl/c/CURLOPT_NOSIGNAL.html) */ noSignal: 'NOSIGNAL', /** * Password. * * @Link [`CURLOPT_PASSWORD`](https://curl.haxx.se/libcurl/c/CURLOPT_PASSWORD.html) */ password: 'PASSWORD', /** * Disable squashing /../ and /./ sequences in the path. * * @Link [`CURLOPT_PATH_AS_IS`](https://curl.haxx.se/libcurl/c/CURLOPT_PATH_AS_IS.html) */ pathAsIs: 'PATH_AS_IS', /** * Set pinned SSL public key . * * @Link [`CURLOPT_PINNEDPUBLICKEY`](https://curl.haxx.se/libcurl/c/CURLOPT_PINNEDPUBLICKEY.html) */ pinnedPublicKey: 'PINNEDPUBLICKEY', /** * Wait on connection to pipeline on it. * * @Link [`CURLOPT_PIPEWAIT`](https://curl.haxx.se/libcurl/c/CURLOPT_PIPEWAIT.html) */ pipeWait: 'PIPEWAIT', /** * Port number to connect to. * * @Link [`CURLOPT_PORT`](https://curl.haxx.se/libcurl/c/CURLOPT_PORT.html) */ port: 'PORT', /** * Make an HTTP POST. * * @Link [`CURLOPT_POST`](https://curl.haxx.se/libcurl/c/CURLOPT_POST.html) */ post: 'POST', /** * Send a POST with this data - does not copy it. * * @Link [`CURLOPT_POSTFIELDS`](https://curl.haxx.se/libcurl/c/CURLOPT_POSTFIELDS.html) */ postFields: 'POSTFIELDS', /** * The POST data is this big. * * @Link [`CURLOPT_POSTFIELDSIZE`](https://curl.haxx.se/libcurl/c/CURLOPT_POSTFIELDSIZE.html) */ postFieldSize: 'POSTFIELDSIZE', /** * The POST data is this big. * * @Link [`CURLOPT_POSTFIELDSIZE_LARGE`](https://curl.haxx.se/libcurl/c/CURLOPT_POSTFIELDSIZE_LARGE.html) */ postFieldSizeLarge: 'POSTFIELDSIZE_LARGE', /** * Commands to run after transfer. * * @Link [`CURLOPT_POSTQUOTE`](https://curl.haxx.se/libcurl/c/CURLOPT_POSTQUOTE.html) */ postQuote: 'POSTQUOTE', /** * How to act on redirects after POST. * * @Link [`CURLOPT_POSTREDIR`](https://curl.haxx.se/libcurl/c/CURLOPT_POSTREDIR.html) */ postRedir: 'POSTREDIR', /** * Socks proxy to use. * * @Link [`CURLOPT_PRE_PROXY`](https://curl.haxx.se/libcurl/c/CURLOPT_PRE_PROXY.html) */ preProxy: 'PRE_PROXY', /** * Commands to run just before transfer. * * @Link [`CURLOPT_PREQUOTE`](https://curl.haxx.se/libcurl/c/CURLOPT_PREQUOTE.html) */ preQuote: 'PREQUOTE', /** * Callback to be called after a connection is established but before a request is made on that connection. * * @Link [`CURLOPT_PREREQFUNCTION`](https://curl.haxx.se/libcurl/c/CURLOPT_PREREQFUNCTION.html) */ preReqFunction: 'PREREQFUNCTION', /** * OBSOLETE callback for progress meter. * * @Link [`CURLOPT_PROGRESSFUNCTION`](https://curl.haxx.se/libcurl/c/CURLOPT_PROGRESSFUNCTION.html) */ progressFunction: 'PROGRESSFUNCTION', /** * Deprecated option Allowed protocols. * * @Link [`CURLOPT_PROTOCOLS`](https://curl.haxx.se/libcurl/c/CURLOPT_PROTOCOLS.html) */ protocols: 'PROTOCOLS', /** * Allowed protocols. * * @Link [`CURLOPT_PROTOCOLS_STR`](https://curl.haxx.se/libcurl/c/CURLOPT_PROTOCOLS_STR.html) */ protocolsStr: 'PROTOCOLS_STR', /** * Proxy to use. * * @Link [`CURLOPT_PROXY`](https://curl.haxx.se/libcurl/c/CURLOPT_PROXY.html) */ proxy: 'PROXY', /** * Proxy CA cert bundle. * * @Link [`CURLOPT_PROXY_CAINFO`](https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_CAINFO.html) */ proxyCaInfo: 'PROXY_CAINFO', /** * Proxy CA cert bundle memory buffer. * * @Link [`CURLOPT_PROXY_CAINFO_BLOB`](https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_CAINFO_BLOB.html) */ proxyCaInfoBlob: 'PROXY_CAINFO_BLOB', /** * Path to proxy CA cert bundle. * * @Link [`CURLOPT_PROXY_CAPATH`](https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_CAPATH.html) */ proxyCaPath: 'PROXY_CAPATH', /** * curl-impersonate: Do not reuse TLS sessions or connections from different proxy credentials. * * @Link [`CURLOPT_PROXY_CREDENTIAL_NO_REUSE`](https://github.com/lexiforest/curl-impersonate/blob/2447279b1a388ba907f4bfe4fe02aadd1dc24376/patches/curl.patch#L191) */ proxyCredentialNoReuse: 'PROXY_CREDENTIAL_NO_REUSE', /** * Proxy Certificate Revocation List. * * @Link [`CURLOPT_PROXY_CRLFILE`](https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_CRLFILE.html) */ proxyCrlFile: 'PROXY_CRLFILE', /** * Proxy issuer certificate. * * @Link [`CURLOPT_PROXY_ISSUERCERT`](https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_ISSUERCERT.html) */ proxyIssuerCert: 'PROXY_ISSUERCERT', /** * Proxy issuer certificate memory buffer. * * @Link [`CURLOPT_PROXY_ISSUERCERT_BLOB`](https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_ISSUERCERT_BLOB.html) */ proxyIssuerCertBlob: 'PROXY_ISSUERCERT_BLOB', /** * Proxy client key password. * * @Link [`CURLOPT_PROXY_KEYPASSWD`](https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_KEYPASSWD.html) */ proxyKeyPasswd: 'PROXY_KEYPASSWD', /** * Set the proxy's pinned SSL public key. * * @Link [`CURLOPT_PROXY_PINNEDPUBLICKEY`](https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_PINNEDPUBLICKEY.html) */ proxyPinnedPublicKey: 'PROXY_PINNEDPUBLICKEY', /** * Proxy authentication service name. * * @Link [`CURLOPT_PROXY_SERVICE_NAME`](https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_SERVICE_NAME.html) */ proxyServiceName: 'PROXY_SERVICE_NAME', /** * Proxy ciphers to use. * * @Link [`CURLOPT_PROXY_SSL_CIPHER_LIST`](https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_SSL_CIPHER_LIST.html) */ proxySslCipherList: 'PROXY_SSL_CIPHER_LIST', /** * Control proxy SSL behavior. * * @Link [`CURLOPT_PROXY_SSL_OPTIONS`](https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_SSL_OPTIONS.html) */ proxySslOptions: 'PROXY_SSL_OPTIONS', /** * Verify the hostname in the proxy SSL certificate. * * @Link [`CURLOPT_PROXY_SSL_VERIFYHOST`](https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_SSL_VERIFYHOST.html) */ proxySslVerifyHost: 'PROXY_SSL_VERIFYHOST', /** * Verify the proxy SSL certificate. * * @Link [`CURLOPT_PROXY_SSL_VERIFYPEER`](https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_SSL_VERIFYPEER.html) */ proxySslVerifyPeer: 'PROXY_SSL_VERIFYPEER', /** * Proxy client cert. * * @Link [`CURLOPT_PROXY_SSLCERT`](https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_SSLCERT.html) */ proxySslCert: 'PROXY_SSLCERT', /** * Proxy client cert memory buffer. * * @Link [`CURLOPT_PROXY_SSLCERT_BLOB`](https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_SSLCERT_BLOB.html) */ proxySslCertBlob: 'PROXY_SSLCERT_BLOB', /** * Proxy client cert type. * * @Link [`CURLOPT_PROXY_SSLCERTTYPE`](https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_SSLCERTTYPE.html) */ proxySslCertType: 'PROXY_SSLCERTTYPE', /** * Proxy client key. * * @Link [`CURLOPT_PROXY_SSLKEY`](https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_SSLKEY.html) */ proxySslKey: 'PROXY_SSLKEY', /** * Proxy client key. * * @Link [`CURLOPT_PROXY_SSLKEY_BLOB`](https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_SSLKEY_BLOB.html) */ proxySslKeyBlob: 'PROXY_SSLKEY_BLOB', /** * Proxy client key type. * * @Link [`CURLOPT_PROXY_SSLKEYTYPE`](https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_SSLKEYTYPE.html) */ proxySslKeyType: 'PROXY_SSLKEYTYPE', /** * Proxy SSL version to use. * * @Link [`CURLOPT_PROXY_SSLVERSION`](https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_SSLVERSION.html) */ proxySslversion: 'PROXY_SSLVERSION', /** * Proxy TLS 1.3 cipher suites to use. * * @Link [`CURLOPT_PROXY_TLS13_CIPHERS`](https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_TLS13_CIPHERS.html) */ proxyTls13Ciphers: 'PROXY_TLS13_CIPHERS', /** * Proxy TLS authentication password. * * @Link [`CURLOPT_PROXY_TLSAUTH_PASSWORD`](https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_TLSAUTH_PASSWORD.html) */ proxyTlsAuthPassword: 'PROXY_TLSAUTH_PASSWORD', /** * Proxy TLS authentication methods. * * @Link [`CURLOPT_PROXY_TLSAUTH_TYPE`](https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_TLSAUTH_TYPE.html) */ proxyTlsAuthType: 'PROXY_TLSAUTH_TYPE', /** * Proxy TLS authentication username. * * @Link [`CURLOPT_PROXY_TLSAUTH_USERNAME`](https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_TLSAUTH_USERNAME.html) */ proxyTlsAuthUsername: 'PROXY_TLSAUTH_USERNAME', /** * Add transfer mode to URL over proxy. * * @Link [`CURLOPT_PROXY_TRANSFER_MODE`](https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_TRANSFER_MODE.html) */ proxyTransferMode: 'PROXY_TRANSFER_MODE', /** * HTTP proxy authentication methods. * * @Link [`CURLOPT_PROXYAUTH`](https://curl.haxx.se/libcurl/c/CURLOPT_PROXYAUTH.html) */ proxyAuth: 'PROXYAUTH', /** * Custom HTTP headers sent to proxy. * * @Link [`CURLOPT_PROXYHEADER`](https://curl.haxx.se/libcurl/c/CURLOPT_PROXYHEADER.html) */ proxyHeader: 'PROXYHEADER', /** * Proxy password. * * @Link [`CURLOPT_PROXYPASSWORD`](https://curl.haxx.se/libcurl/c/CURLOPT_PROXYPASSWORD.html) */ proxyPassword: 'PROXYPASSWORD', /** * Proxy port to use. * * @Link [`CURLOPT_PROXYPORT`](https://curl.haxx.se/libcurl/c/CURLOPT_PROXYPORT.html) */ proxyPort: 'PROXYPORT', /** * Proxy type. * * @Link [`CURLOPT_PROXYTYPE`](https://curl.haxx.se/libcurl/c/CURLOPT_PROXYTYPE.html) */ proxyType: 'PROXYTYPE', /** * Proxy username. * * @Link [`CURLOPT_PROXYUSERNAME`](https://curl.haxx.se/libcurl/c/CURLOPT_PROXYUSERNAME.html) */ proxyUsername: 'PROXYUSERNAME', /** * Proxy username and password. * * @Link [`CURLOPT_PROXYUSERPWD`](https://curl.haxx.se/libcurl/c/CURLOPT_PROXYUSERPWD.html) */ proxyUserpwd: 'PROXYUSERPWD', /** * Deprecated option Issue an HTTP PUT request. * * @Link [`CURLOPT_PUT`](https://curl.haxx.se/libcurl/c/CURLOPT_PUT.html) */ put: 'PUT', /** * To be set by toplevel tools like "curl" to skip lengthy cleanups when they are about to call exit() anyway. * * @Link [`CURLOPT_QUICK_EXIT`](https://curl.haxx.se/libcurl/c/CURLOPT_QUICK_EXIT.html) */ quickExit: 'QUICK_EXIT', /** * Commands to run before transfer. * * @Link [`CURLOPT_QUOTE`](https://curl.haxx.se/libcurl/c/CURLOPT_QUOTE.html) */ quote: 'QUOTE', /** * OBSOLETE Provide source for entropy random data. * * @Link [`CURLOPT_RANDOM_FILE`](https://curl.haxx.se/libcurl/c/CURLOPT_RANDOM_FILE.html) */ randomFile: 'RANDOM_FILE', /** * Range requests. * * @Link [`CURLOPT_RANGE`](https://curl.haxx.se/libcurl/c/CURLOPT_RANGE.html) */ range: 'RANGE', /** * Data pointer to pass to the read callback. * * @Link [`CURLOPT_READDATA`](https://curl.haxx.se/libcurl/c/CURLOPT_READDATA.html) */ readData: 'READDATA', /** * Callback for reading data. * * @Link [`CURLOPT_READFUNCTION`](https://curl.haxx.se/libcurl/c/CURLOPT_READFUNCTION.html) */ readFunction: 'READFUNCTION', /** * Deprecated option Protocols to allow redirects to. * * @Link [`CURLOPT_REDIR_PROTOCOLS`](https://curl.haxx.se/libcurl/c/CURLOPT_REDIR_PROTOCOLS.html) */ redirProtocols: 'REDIR_PROTOCOLS', /** * Protocols to allow redirects to. * * @Link [`CURLOPT_REDIR_PROTOCOLS_STR`](https://curl.haxx.se/libcurl/c/CURLOPT_REDIR_PROTOCOLS_STR.html) */ redirProtocolsStr: 'REDIR_PROTOCOLS_STR', /** * Referer: header. * * @Link [`CURLOPT_REFERER`](https://curl.haxx.se/libcurl/c/CURLOPT_REFERER.html) */ referer: 'REFERER', /** * Set the request target. * * @Link [`CURLOPT_REQUEST_TARGET`](https://curl.haxx.se/libcurl/c/CURLOPT_REQUEST_TARGET.html) */ requestTarget: 'REQUEST_TARGET', /** * Provide fixed/fake name resolves. * * @Link [`CURLOPT_RESOLVE`](https://curl.haxx.se/libcurl/c/CURLOPT_RESOLVE.html) */ resolve: 'RESOLVE', /** * Resume a transfer. * * @Link [`CURLOPT_RESUME_FROM`](https://curl.haxx.se/libcurl/c/CURLOPT_RESUME_FROM.html) */ resumeFrom: 'RESUME_FROM', /** * Resume a transfer. * * @Link [`CURLOPT_RESUME_FROM_LARGE`](https://curl.haxx.se/libcurl/c/CURLOPT_RESUME_FROM_LARGE.html) */ resumeFromLarge: 'RESUME_FROM_LARGE', /** * Client CSEQ number. * * @Link [`CURLOPT_RTSP_CLIENT_CSEQ`](https://curl.haxx.se/libcurl/c/CURLOPT_RTSP_CLIENT_CSEQ.html) */ rtspClientCseq: 'RTSP_CLIENT_CSEQ', /** * RTSP request. * * @Link [`CURLOPT_RTSP_REQUEST`](https://curl.haxx.se/libcurl/c/CURLOPT_RTSP_REQUEST.html) */ rtspRequest: 'RTSP_REQUEST', /** * CSEQ number for RTSP Server-\>Client request. * * @Link [`CURLOPT_RTSP_SERVER_CSEQ`](https://curl.haxx.se/libcurl/c/CURLOPT_RTSP_SERVER_CSEQ.html) */ rtspServerCseq: 'RTSP_SERVER_CSEQ', /** * RTSP session-id. * * @Link [`CURLOPT_RTSP_SESSION_ID`](https://curl.haxx.se/libcurl/c/CURLOPT_RTSP_SESSION_ID.html) */ rtspSessionId: 'RTSP_SESSION_ID', /** * RTSP stream URI. * * @Link [`CURLOPT_RTSP_STREAM_URI`](https://curl.haxx.se/libcurl/c/CURLOPT_RTSP_STREAM_URI.html) */ rtspStreamUri: 'RTSP_STREAM_URI', /** * RTSP Transport: header. * * @Link [`CURLOPT_RTSP_TRANSPORT`](https://curl.haxx.se/libcurl/c/CURLOPT_RTSP_TRANSPORT.html) */ rtspTransPort: 'RTSP_TRANSPORT', /** * SASL authorization identity (identity to act as). * * @Link [`CURLOPT_SASL_AUTHZID`](https://curl.haxx.se/libcurl/c/CURLOPT_SASL_AUTHZID.html) */ saslAuthzId: 'SASL_AUTHZID', /** * Enable SASL initial response. * * @Link [`CURLOPT_SASL_IR`](https://curl.haxx.se/libcurl/c/CURLOPT_SASL_IR.html) */ saslIr: 'SASL_IR', /** * Callback for seek operations. * * @Link [`CURLOPT_SEEKFUNCTION`](https://curl.haxx.se/libcurl/c/CURLOPT_SEEKFUNCTION.html) */ seekFunction: 'SEEKFUNCTION', /** * Timeout for server responses. * * @Link [`CURLOPT_SERVER_RESPONSE_TIMEOUT`](https://curl.haxx.se/libcurl/c/CURLOPT_SERVER_RESPONSE_TIMEOUT.html) */ serverResponseTimeout: 'SERVER_RESPONSE_TIMEOUT', /** * Timeout for server responses. * * @Link [`CURLOPT_SERVER_RESPONSE_TIMEOUT_MS`](https://curl.haxx.se/libcurl/c/CURLOPT_SERVER_RESPONSE_TIMEOUT_MS.html) */ serverResponseTimeoutMs: 'SERVER_RESPONSE_TIMEOUT_MS', /** * Authentication service name. * * @Link [`CURLOPT_SERVICE_NAME`](https://curl.haxx.se/libcurl/c/CURLOPT_SERVICE_NAME.html) */ serviceName: 'SERVICE_NAME', /** * Share object to use. * * @Link [`CURLOPT_SHARE`](https://curl.haxx.se/libcurl/c/CURLOPT_SHARE.html) */ share: 'SHARE', /** * Socks5 authentication methods. * * @Link [`CURLOPT_SOCKS5_AUTH`](https://curl.haxx.se/libcurl/c/CURLOPT_SOCKS5_AUTH.html) */ socks5Auth: 'SOCKS5_AUTH', /** * Socks5 GSSAPI NEC mode. * * @Link [`CURLOPT_SOCKS5_GSSAPI_NEC`](https://curl.haxx.se/libcurl/c/CURLOPT_SOCKS5_GSSAPI_NEC.html) */ socks5GssapiNec: 'SOCKS5_GSSAPI_NEC', /** * Deprecated option Socks5 GSSAPI service name. * * @Link [`CURLOPT_SOCKS5_GSSAPI_SERVICE`](https://curl.haxx.se/libcurl/c/CURLOPT_SOCKS5_GSSAPI_SERVICE.html) */ socks5GssapiService: 'SOCKS5_GSSAPI_SERVICE', /** * SSH authentication types. * * @Link [`CURLOPT_SSH_AUTH_TYPES`](https://curl.haxx.se/libcurl/c/CURLOPT_SSH_AUTH_TYPES.html) */ sshAuthTypes: 'SSH_AUTH_TYPES', /** * Enable SSH compression. * * @Link [`CURLOPT_SSH_COMPRESSION`](https://curl.haxx.se/libcurl/c/CURLOPT_SSH_COMPRESSION.html) */ sshCompression: 'SSH_COMPRESSION', /** * MD5 of host's public key. * * @Link [`CURLOPT_SSH_HOST_PUBLIC_KEY_MD5`](https://curl.haxx.se/libcurl/c/CURLOPT_SSH_HOST_PUBLIC_KEY_MD5.html) */ sshHostPublicKeyMd5: 'SSH_HOST_PUBLIC_KEY_MD5', /** * Custom pointer to pass to ssh host key callback. * * @Link [`CURLOPT_SSH_HOSTKEYDATA`](https://curl.haxx.se/libcurl/c/CURLOPT_SSH_HOSTKEYDATA.html) */ sshHostKeyData: 'SSH_HOSTKEYDATA', /** * Filename with known hosts. * * @Link [`CURLOPT_SSH_KNOWNHOSTS`](https://curl.haxx.se/libcurl/c/CURLOPT_SSH_KNOWNHOSTS.html) */ sshKnownHosts: 'SSH_KNOWNHOSTS', /** * Filename of the private key. * * @Link [`CURLOPT_SSH_PRIVATE_KEYFILE`](https://curl.haxx.se/libcurl/c/CURLOPT_SSH_PRIVATE_KEYFILE.html) */ sshPrivateKeyFile: 'SSH_PRIVATE_KEYFILE', /** * Filename of the public key. * * @Link [`CURLOPT_SSH_PUBLIC_KEYFILE`](https://curl.haxx.se/libcurl/c/CURLOPT_SSH_PUBLIC_KEYFILE.html) */ sshPublicKeyFile: 'SSH_PUBLIC_KEYFILE', /** * curl-impersonate: : Comma-separated list of certificate compression algorithms to use. These are published in the client hello. Supported algorithms are "zlib" and "brotli". See https://datatracker.ietf.org/doc/html/rfc8879. * * @Link [`CURLOPT_SSL_CERT_COMPRESSION`](https://github.com/lexiforest/curl-impersonate/blob/2447279b1a388ba907f4bfe4fe02aadd1dc24376/patches/curl.patch#L128) */ sslCertCompression: 'SSL_CERT_COMPRESSION', /** * Ciphers to use. * * @Link [`CURLOPT_SSL_CIPHER_LIST`](https://curl.haxx.se/libcurl/c/CURLOPT_SSL_CIPHER_LIST.html) */ sslCipherList: 'SSL_CIPHER_LIST', /** * Set key exchange curves. * * @Link [`CURLOPT_SSL_EC_CURVES`](https://curl.haxx.se/libcurl/c/CURLOPT_SSL_EC_CURVES.html) */ sslEcCurves: 'SSL_EC_CURVES', /** * Enable use of ALPN. * * @Link [`CURLOPT_SSL_ENABLE_ALPN`](https://curl.haxx.se/libcurl/c/CURLOPT_SSL_ENABLE_ALPN.html) */ sslEnableAlpn: 'SSL_ENABLE_ALPN', /** * curl-impersonate: Whether to enable ALPS in TLS or not. See https://datatracker.ietf.org/doc/html/draft-vvv-tls-alps. Support for ALPS is minimal and is intended only for the TLS client hello to match. * * @Link [`CURLOPT_SSL_ENABLE_ALPS`](https://github.com/lexiforest/curl-impersonate/blob/2447279b1a388ba907f4bfe4fe02aadd1dc24376/patches/curl.patch#L122) */ sslEnableAlps: 'SSL_ENABLE_ALPS', /** * OBSOLETE Enable use of NPN. * * @Link [`CURLOPT_SSL_ENABLE_NPN`](https://curl.haxx.se/libcurl/c/CURLOPT_SSL_ENABLE_NPN.html) */ sslEnableNpn: 'SSL_ENABLE_NPN', /** * curl-impersonate: Enable/disable TLS session ticket extension (RFC5077). * * @Link [`CURLOPT_SSL_ENABLE_TICKET`](https://github.com/lexiforest/curl-impersonate/blob/2447279b1a388ba907f4bfe4fe02aadd1dc24376/patches/curl.patch#L131) */ sslEnableTicket: 'SSL_ENABLE_TICKET', /** * Deprecated option Enable TLS False Start. * * @Link [`CURLOPT_SSL_FALSESTART`](https://curl.haxx.se/libcurl/c/CURLOPT_SSL_FALSESTART.html) */ sslFalsestart: 'SSL_FALSESTART', /** * Control SSL behavior. * * @Link [`CURLOPT_SSL_OPTIONS`](https://curl.haxx.se/libcurl/c/CURLOPT_SSL_OPTIONS.html) */ sslOptions: 'SSL_OPTIONS', /** * curl-impersonate: Whether to enable Boringssl permute extensions. See https://commondatastorage.googleapis.com/chromium-boringssl-docs/ssl.h.html#SSL_set_permute_extensions. * * @Link [`CURLOPT_SSL_PERMUTE_EXTENSIONS`](https://github.com/lexiforest/curl-impersonate/blob/2447279b1a388ba907f4bfe4fe02aadd1dc24376/patches/curl.patch#L149) */ sslPermuteExtensions: 'SSL_PERMUTE_EXTENSIONS', /** * Disable SSL session-id cache. * * @Link [`CURLOPT_SSL_SESSIONID_CACHE`](https://curl.haxx.se/libcurl/c/CURLOPT_SSL_SESSIONID_CACHE.html) */ sslSessionIdCache: 'SSL_SESSIONID_CACHE', /** * curl-impersonate: A list of TLS signature hash algorithms. This has been implemented by curl as option 328, but we will keep it for compatibility. See https://datatracker.ietf.org/doc/html/rfc5246#section-7.4.1.4.1. * * @Link [`CURLOPT_SSL_SIG_HASH_ALGS`](https://github.com/lexiforest/curl-impersonate/blob/2447279b1a388ba907f4bfe4fe02aadd1dc24376/patches/curl.patch#L116) */ sslSigHashAlgs: 'SSL_SIG_HASH_ALGS', /** * TLS signature algorithms to use. * * @Link [`CURLOPT_SSL_SIGNATURE_ALGORITHMS`](https://curl.haxx.se/libcurl/c/CURLOPT_SSL_SIGNATURE_ALGORITHMS.html) */ sslSignatureAlgorithms: 'SSL_SIGNATURE_ALGORITHMS', /** * Verify the hostname in the SSL certificate. * * @Link [`CURLOPT_SSL_VERIFYHOST`](https://curl.haxx.se/libcurl/c/CURLOPT_SSL_VERIFYHOST.html) */ sslVerifyHost: 'SSL_VERIFYHOST', /** * Verify the SSL certificate. * * @Link [`CURLOPT_SSL_VERIFYPEER`](https://curl.haxx.se/libcurl/c/CURLOPT_SSL_VERIFYPEER.html) */ sslVerifyPeer: 'SSL_VERIFYPEER', /** * Verify the SSL certificate's status. * * @Link [`CURLOPT_SSL_VERIFYSTATUS`](https://curl.haxx.se/libcurl/c/CURLOPT_SSL_VERIFYSTATUS.html) */ sslVerifyStatus: 'SSL_VERIFYSTATUS', /** * Client cert. * * @Link [`CURLOPT_SSLCERT`](https://curl.haxx.se/libcurl/c/CURLOPT_SSLCERT.html) */ sslCert: 'SSLCERT', /** * Client cert memory buffer. * * @Link [`CURLOPT_SSLCERT_BLOB`](https://curl.haxx.se/libcurl/c/CURLOPT_SSLCERT_BLOB.html) */ sslCertBlob: 'SSLCERT_BLOB', /** * Client cert type. * * @Link [`CURLOPT_SSLCERTTYPE`](https://curl.haxx.se/libcurl/c/CURLOPT_SSLCERTTYPE.html) */ sslCertType: 'SSLCERTTYPE', /** * Use identifier with SSL engine. * * @Link [`CURLOPT_SSLENGINE`](https://curl.haxx.se/libcurl/c/CURLOPT_SSLENGINE.html) */ sslEngine: 'SSLENGINE', /** * Default SSL engine. * * @Link [`CURLOPT_SSLENGINE_DEFAULT`](https://curl.haxx.se/libcurl/c/CURLOPT_SSLENGINE_DEFAULT.html) */ sslEngineDefault: 'SSLENGINE_DEFAULT', /** * Client key. * * @Link [`CURLOPT_SSLKEY`](https://curl.haxx.se/libcurl/c/CURLOPT_SSLKEY.html) */ sslKey: 'SSLKEY', /** * Client key memory buffer. * * @Link [`CURLOPT_SSLKEY_BLOB`](https://curl.haxx.se/libcurl/c/CURLOPT_SSLKEY_BLOB.html) */ sslKeyBlob: 'SSLKEY_BLOB', /** * Client key type. * * @Link [`CURLOPT_SSLKEYTYPE`](https://curl.haxx.se/libcurl/c/CURLOPT_SSLKEYTYPE.html) */ sslKeyType: 'SSLKEYTYPE', /** * SSL version to use. * * @Link [`CURLOPT_SSLVERSION`](https://curl.haxx.se/libcurl/c/CURLOPT_SSLVERSION.html) */ sslversion: 'SSLVERSION', /** * curl-impersonate: Set stream exclusiveness, 0 or 1. * * @Link [`CURLOPT_STREAM_EXCLUSIVE`](https://github.com/lexiforest/curl-impersonate/blob/2447279b1a388ba907f4bfe4fe02aadd1dc24376/patches/curl.patch#L164) */ streamExclusive: 'STREAM_EXCLUSIVE', /** * Suppress proxy CONNECT response he