node-libcurl

    Interface CurlInfo

    interface CurlInfo {
        ACTIVESOCKET: "ACTIVESOCKET";
        APPCONNECT_TIME: "APPCONNECT_TIME";
        APPCONNECT_TIME_T: "APPCONNECT_TIME_T";
        CAINFO: "CAINFO";
        CAPATH: "CAPATH";
        CERTINFO: "CERTINFO";
        CONDITION_UNMET: "CONDITION_UNMET";
        CONN_ID: "CONN_ID";
        CONNECT_TIME: "CONNECT_TIME";
        CONNECT_TIME_T: "CONNECT_TIME_T";
        CONTENT_LENGTH_DOWNLOAD: "CONTENT_LENGTH_DOWNLOAD";
        CONTENT_LENGTH_DOWNLOAD_T: "CONTENT_LENGTH_DOWNLOAD_T";
        CONTENT_LENGTH_UPLOAD: "CONTENT_LENGTH_UPLOAD";
        CONTENT_LENGTH_UPLOAD_T: "CONTENT_LENGTH_UPLOAD_T";
        CONTENT_TYPE: "CONTENT_TYPE";
        COOKIELIST: "COOKIELIST";
        EARLYDATA_SENT_T: "EARLYDATA_SENT_T";
        EFFECTIVE_METHOD: "EFFECTIVE_METHOD";
        EFFECTIVE_URL: "EFFECTIVE_URL";
        FILETIME: "FILETIME";
        FILETIME_T: "FILETIME_T";
        FTP_ENTRY_PATH: "FTP_ENTRY_PATH";
        HEADER_SIZE: "HEADER_SIZE";
        HTTP_CONNECTCODE: "HTTP_CONNECTCODE";
        HTTP_VERSION: "HTTP_VERSION";
        HTTPAUTH_AVAIL: "HTTPAUTH_AVAIL";
        HTTPAUTH_USED: "HTTPAUTH_USED";
        LASTSOCKET: "LASTSOCKET";
        LOCAL_IP: "LOCAL_IP";
        LOCAL_PORT: "LOCAL_PORT";
        NAMELOOKUP_TIME: "NAMELOOKUP_TIME";
        NAMELOOKUP_TIME_T: "NAMELOOKUP_TIME_T";
        NUM_CONNECTS: "NUM_CONNECTS";
        OS_ERRNO: "OS_ERRNO";
        POSTTRANSFER_TIME_T: "POSTTRANSFER_TIME_T";
        PRETRANSFER_TIME: "PRETRANSFER_TIME";
        PRETRANSFER_TIME_T: "PRETRANSFER_TIME_T";
        PRIMARY_IP: "PRIMARY_IP";
        PRIMARY_PORT: "PRIMARY_PORT";
        PRIVATE: "PRIVATE";
        PROTOCOL: "PROTOCOL";
        PROXY_ERROR: "PROXY_ERROR";
        PROXY_SSL_VERIFYRESULT: "PROXY_SSL_VERIFYRESULT";
        PROXYAUTH_AVAIL: "PROXYAUTH_AVAIL";
        PROXYAUTH_USED: "PROXYAUTH_USED";
        QUEUE_TIME_T: "QUEUE_TIME_T";
        REDIRECT_COUNT: "REDIRECT_COUNT";
        REDIRECT_TIME: "REDIRECT_TIME";
        REDIRECT_TIME_T: "REDIRECT_TIME_T";
        REDIRECT_URL: "REDIRECT_URL";
        REFERER: "REFERER";
        REQUEST_SIZE: "REQUEST_SIZE";
        RESPONSE_CODE: "RESPONSE_CODE";
        RETRY_AFTER: "RETRY_AFTER";
        RTSP_CLIENT_CSEQ: "RTSP_CLIENT_CSEQ";
        RTSP_CSEQ_RECV: "RTSP_CSEQ_RECV";
        RTSP_SERVER_CSEQ: "RTSP_SERVER_CSEQ";
        RTSP_SESSION_ID: "RTSP_SESSION_ID";
        SCHEME: "SCHEME";
        SIZE_DOWNLOAD: "SIZE_DOWNLOAD";
        SIZE_DOWNLOAD_T: "SIZE_DOWNLOAD_T";
        SIZE_UPLOAD: "SIZE_UPLOAD";
        SIZE_UPLOAD_T: "SIZE_UPLOAD_T";
        SPEED_DOWNLOAD: "SPEED_DOWNLOAD";
        SPEED_DOWNLOAD_T: "SPEED_DOWNLOAD_T";
        SPEED_UPLOAD: "SPEED_UPLOAD";
        SPEED_UPLOAD_T: "SPEED_UPLOAD_T";
        SSL_ENGINES: "SSL_ENGINES";
        SSL_VERIFYRESULT: "SSL_VERIFYRESULT";
        STARTTRANSFER_TIME: "STARTTRANSFER_TIME";
        STARTTRANSFER_TIME_T: "STARTTRANSFER_TIME_T";
        TLS_SESSION: "TLS_SESSION";
        TLS_SSL_PTR: "TLS_SSL_PTR";
        TOTAL_TIME: "TOTAL_TIME";
        TOTAL_TIME_T: "TOTAL_TIME_T";
        USED_PROXY: "USED_PROXY";
        XFER_ID: "XFER_ID";
    }
    Index

    Properties

    ACTIVESOCKET: "ACTIVESOCKET"

    The session's active socket.

    Official libcurl documentation: https://curl.haxx.se/libcurl/c/CURLINFO_ACTIVESOCKET.html

    APPCONNECT_TIME: "APPCONNECT_TIME"

    The time it took from the start until the SSL connect/handshake with the remote host was completed as a double in number of seconds.

    Official libcurl documentation: https://curl.haxx.se/libcurl/c/CURLINFO_APPCONNECT_TIME.html

    APPCONNECT_TIME_T: "APPCONNECT_TIME_T"

    The time it took from the start until the SSL connect/handshake with the remote host was completed in number of microseconds. (Added in 7.60.0)

    Official libcurl documentation: https://curl.haxx.se/libcurl/c/CURLINFO_APPCONNECT_TIME_T.html

    CAINFO: "CAINFO"

    Get the default value for CURLOPT_CAINFO.

    Official libcurl documentation: https://curl.haxx.se/libcurl/c/CURLINFO_CAINFO.html

    CAPATH: "CAPATH"

    Get the default value for CURLOPT_CAPATH.

    Official libcurl documentation: https://curl.haxx.se/libcurl/c/CURLINFO_CAPATH.html

    CERTINFO: "CERTINFO"

    Certificate chain.

    Official libcurl documentation: https://curl.haxx.se/libcurl/c/CURLINFO_CERTINFO.html

    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

    CONN_ID: "CONN_ID"

    The ID of the last connection used by the transfer. (Added in 8.2.0)

    Official libcurl documentation: https://curl.haxx.se/libcurl/c/CURLINFO_CONN_ID.html

    CONNECT_TIME: "CONNECT_TIME"

    The time it took from the start until the connect to the remote host (or proxy) was completed. As a double.

    Official libcurl documentation: https://curl.haxx.se/libcurl/c/CURLINFO_CONNECT_TIME.html

    CONNECT_TIME_T: "CONNECT_TIME_T"

    The time it took from the start until the connect to the remote host (or proxy) was completed. In microseconds. See CURLINFO_CONNECT_TIME_T.

    Official libcurl documentation: https://curl.haxx.se/libcurl/c/CURLINFO_CONNECT_TIME_T.html

    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

    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

    CONTENT_LENGTH_UPLOAD: "CONTENT_LENGTH_UPLOAD"

    (Deprecated) Upload size.

    Official libcurl documentation: https://curl.haxx.se/libcurl/c/CURLINFO_CONTENT_LENGTH_UPLOAD.html

    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

    CONTENT_TYPE: "CONTENT_TYPE"

    Content type from the Content-Type: header.

    Official libcurl documentation: https://curl.haxx.se/libcurl/c/CURLINFO_CONTENT_TYPE.html

    COOKIELIST: "COOKIELIST"

    List of all known cookies.

    Official libcurl documentation: https://curl.haxx.se/libcurl/c/CURLINFO_COOKIELIST.html

    EARLYDATA_SENT_T: "EARLYDATA_SENT_T"

    Amount of TLS early data sent (in number of bytes) when CURLSSLOPT_EARLYDATA is enabled.

    Official libcurl documentation: https://curl.haxx.se/libcurl/c/CURLINFO_EARLYDATA_SENT_T.html

    EFFECTIVE_METHOD: "EFFECTIVE_METHOD"

    Last used HTTP method.

    Official libcurl documentation: https://curl.haxx.se/libcurl/c/CURLINFO_EFFECTIVE_METHOD.html

    EFFECTIVE_URL: "EFFECTIVE_URL"

    Last used URL.

    Official libcurl documentation: https://curl.haxx.se/libcurl/c/CURLINFO_EFFECTIVE_URL.html

    FILETIME: "FILETIME"

    Remote time of the retrieved document.

    Official libcurl documentation: https://curl.haxx.se/libcurl/c/CURLINFO_FILETIME.html

    FILETIME_T: "FILETIME_T"

    Remote time of the retrieved document.

    Official libcurl documentation: https://curl.haxx.se/libcurl/c/CURLINFO_FILETIME_T.html

    ReadonlyFTP_ENTRY_PATH

    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

    HEADER_SIZE: "HEADER_SIZE"

    Number of bytes of all headers received.

    Official libcurl documentation: https://curl.haxx.se/libcurl/c/CURLINFO_HEADER_SIZE.html

    HTTP_CONNECTCODE: "HTTP_CONNECTCODE"

    Last proxy CONNECT response code.

    Official libcurl documentation: https://curl.haxx.se/libcurl/c/CURLINFO_HTTP_CONNECTCODE.html

    HTTP_VERSION: "HTTP_VERSION"

    The http version used in the connection.

    Official libcurl documentation: https://curl.haxx.se/libcurl/c/CURLINFO_HTTP_VERSION.html

    HTTPAUTH_AVAIL: "HTTPAUTH_AVAIL"

    Available HTTP authentication methods.

    Official libcurl documentation: https://curl.haxx.se/libcurl/c/CURLINFO_HTTPAUTH_AVAIL.html

    HTTPAUTH_USED: "HTTPAUTH_USED"

    Used HTTP authentication method.

    Official libcurl documentation: https://curl.haxx.se/libcurl/c/CURLINFO_HTTPAUTH_USED.html

    LASTSOCKET: "LASTSOCKET"

    (Deprecated) Last socket used.

    Official libcurl documentation: https://curl.haxx.se/libcurl/c/CURLINFO_LASTSOCKET.html

    LOCAL_IP: "LOCAL_IP"

    Source IP address of the last connection.

    Official libcurl documentation: https://curl.haxx.se/libcurl/c/CURLINFO_LOCAL_IP.html

    LOCAL_PORT: "LOCAL_PORT"

    Source port number of the last connection.

    Official libcurl documentation: https://curl.haxx.se/libcurl/c/CURLINFO_LOCAL_PORT.html

    NAMELOOKUP_TIME: "NAMELOOKUP_TIME"

    Time from start until name resolving completed as a double.

    Official libcurl documentation: https://curl.haxx.se/libcurl/c/CURLINFO_NAMELOOKUP_TIME.html

    NAMELOOKUP_TIME_T: "NAMELOOKUP_TIME_T"

    Time from start until name resolving completed in number of microseconds.

    Official libcurl documentation: https://curl.haxx.se/libcurl/c/CURLINFO_NAMELOOKUP_TIME_T.html

    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

    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

    POSTTRANSFER_TIME_T: "POSTTRANSFER_TIME_T"

    The time it took from the start until the last byte is sent by libcurl. In microseconds. (Added in 8.10.0)

    Official libcurl documentation: https://curl.haxx.se/libcurl/c/CURLINFO_POSTTRANSFER_TIME_T.html

    PRETRANSFER_TIME: "PRETRANSFER_TIME"

    The time it took from the start until the file transfer is just about to begin. This includes all pre-transfer commands and negotiations that are specific to the particular protocol(s) involved.

    Official libcurl documentation: https://curl.haxx.se/libcurl/c/CURLINFO_PRETRANSFER_TIME.html

    PRETRANSFER_TIME_T: "PRETRANSFER_TIME_T"

    The time it took from the start until the file transfer is just about to begin. This includes all pre-transfer commands and negotiations that are specific to the particular protocol(s) involved. In microseconds.

    Official libcurl documentation: https://curl.haxx.se/libcurl/c/CURLINFO_PRETRANSFER_TIME_T.html

    PRIMARY_IP: "PRIMARY_IP"

    Destination IP address of the last connection.

    Official libcurl documentation: https://curl.haxx.se/libcurl/c/CURLINFO_PRIMARY_IP.html

    PRIMARY_PORT: "PRIMARY_PORT"

    Destination port of the last connection.

    Official libcurl documentation: https://curl.haxx.se/libcurl/c/CURLINFO_PRIMARY_PORT.html

    PRIVATE: "PRIVATE"

    User's private data pointer.

    Official libcurl documentation: https://curl.haxx.se/libcurl/c/CURLINFO_PRIVATE.html

    PROTOCOL: "PROTOCOL"

    (Deprecated) The protocol used for the connection.

    Official libcurl documentation: https://curl.haxx.se/libcurl/c/CURLINFO_PROTOCOL.html

    PROXY_ERROR: "PROXY_ERROR"

    Detailed proxy error.

    Official libcurl documentation: https://curl.haxx.se/libcurl/c/CURLINFO_PROXY_ERROR.html

    PROXY_SSL_VERIFYRESULT: "PROXY_SSL_VERIFYRESULT"

    Proxy certificate verification result.

    Official libcurl documentation: https://curl.haxx.se/libcurl/c/CURLINFO_PROXY_SSL_VERIFYRESULT.html

    PROXYAUTH_AVAIL: "PROXYAUTH_AVAIL"

    Available HTTP proxy authentication methods.

    Official libcurl documentation: https://curl.haxx.se/libcurl/c/CURLINFO_PROXYAUTH_AVAIL.html

    PROXYAUTH_USED: "PROXYAUTH_USED"

    Used HTTP proxy authentication methods.

    Official libcurl documentation: https://curl.haxx.se/libcurl/c/CURLINFO_PROXYAUTH_USED.html

    QUEUE_TIME_T: "QUEUE_TIME_T"

    The time during which the transfer was held in a waiting queue before it could start for real in number of microseconds. (Added in 8.6.0)

    Official libcurl documentation: https://curl.haxx.se/libcurl/c/CURLINFO_QUEUE_TIME_T.html

    REDIRECT_COUNT: "REDIRECT_COUNT"

    Total number of redirects that were followed.

    Official libcurl documentation: https://curl.haxx.se/libcurl/c/CURLINFO_REDIRECT_COUNT.html

    REDIRECT_TIME: "REDIRECT_TIME"

    The time it took for all redirection steps include name lookup, connect, pretransfer and transfer before final transaction was started. So, this is zero if no redirection took place. As a double.

    Official libcurl documentation: https://curl.haxx.se/libcurl/c/CURLINFO_REDIRECT_TIME.html

    REDIRECT_TIME_T: "REDIRECT_TIME_T"

    The time it took for all redirection steps include name lookup, connect, pretransfer and transfer before final transaction was started. So, this is zero if no redirection took place. In number of microseconds.

    Official libcurl documentation: https://curl.haxx.se/libcurl/c/CURLINFO_REDIRECT_TIME_T.html

    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

    REFERER: "REFERER"

    Referrer header.

    Official libcurl documentation: https://curl.haxx.se/libcurl/c/CURLINFO_REFERER.html

    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

    RESPONSE_CODE: "RESPONSE_CODE"

    Last received response code.

    Official libcurl documentation: https://curl.haxx.se/libcurl/c/CURLINFO_RESPONSE_CODE.html

    RETRY_AFTER: "RETRY_AFTER"

    The value from the Retry-After header.

    Official libcurl documentation: https://curl.haxx.se/libcurl/c/CURLINFO_RETRY_AFTER.html

    RTSP_CLIENT_CSEQ: "RTSP_CLIENT_CSEQ"

    The RTSP client CSeq that is expected next.

    Official libcurl documentation: https://curl.haxx.se/libcurl/c/CURLINFO_RTSP_CLIENT_CSEQ.html

    RTSP_CSEQ_RECV: "RTSP_CSEQ_RECV"

    RTSP CSeq last received.

    Official libcurl documentation: https://curl.haxx.se/libcurl/c/CURLINFO_RTSP_CSEQ_RECV.html

    RTSP_SERVER_CSEQ: "RTSP_SERVER_CSEQ"

    The RTSP server CSeq that is expected next.

    Official libcurl documentation: https://curl.haxx.se/libcurl/c/CURLINFO_RTSP_SERVER_CSEQ.html

    RTSP_SESSION_ID: "RTSP_SESSION_ID"

    RTSP session ID.

    Official libcurl documentation: https://curl.haxx.se/libcurl/c/CURLINFO_RTSP_SESSION_ID.html

    SCHEME: "SCHEME"

    The scheme used for the connection.

    Official libcurl documentation: https://curl.haxx.se/libcurl/c/CURLINFO_SCHEME.html

    SIZE_DOWNLOAD: "SIZE_DOWNLOAD"

    (Deprecated) Number of bytes downloaded.

    Official libcurl documentation: https://curl.haxx.se/libcurl/c/CURLINFO_SIZE_DOWNLOAD.html

    SIZE_DOWNLOAD_T: "SIZE_DOWNLOAD_T"

    Number of bytes downloaded.

    Official libcurl documentation: https://curl.haxx.se/libcurl/c/CURLINFO_SIZE_DOWNLOAD_T.html

    SIZE_UPLOAD: "SIZE_UPLOAD"

    (Deprecated) Number of bytes uploaded.

    Official libcurl documentation: https://curl.haxx.se/libcurl/c/CURLINFO_SIZE_UPLOAD.html

    SIZE_UPLOAD_T: "SIZE_UPLOAD_T"

    Number of bytes uploaded.

    Official libcurl documentation: https://curl.haxx.se/libcurl/c/CURLINFO_SIZE_UPLOAD_T.html

    SPEED_DOWNLOAD: "SPEED_DOWNLOAD"

    (Deprecated) Average download speed.

    Official libcurl documentation: https://curl.haxx.se/libcurl/c/CURLINFO_SPEED_DOWNLOAD.html

    SPEED_DOWNLOAD_T: "SPEED_DOWNLOAD_T"

    Average download speed.

    Official libcurl documentation: https://curl.haxx.se/libcurl/c/CURLINFO_SPEED_DOWNLOAD_T.html

    SPEED_UPLOAD: "SPEED_UPLOAD"

    (Deprecated) Average upload speed.

    Official libcurl documentation: https://curl.haxx.se/libcurl/c/CURLINFO_SPEED_UPLOAD.html

    SPEED_UPLOAD_T: "SPEED_UPLOAD_T"

    Average upload speed in number of bytes per second.

    Official libcurl documentation: https://curl.haxx.se/libcurl/c/CURLINFO_SPEED_UPLOAD_T.html

    SSL_ENGINES: "SSL_ENGINES"

    A list of OpenSSL crypto engines.

    Official libcurl documentation: https://curl.haxx.se/libcurl/c/CURLINFO_SSL_ENGINES.html

    SSL_VERIFYRESULT: "SSL_VERIFYRESULT"

    Certificate verification result.

    Official libcurl documentation: https://curl.haxx.se/libcurl/c/CURLINFO_SSL_VERIFYRESULT.html

    STARTTRANSFER_TIME: "STARTTRANSFER_TIME"

    The time it took from the start until the first byte is received by libcurl. As a double.

    Official libcurl documentation: https://curl.haxx.se/libcurl/c/CURLINFO_STARTTRANSFER_TIME.html

    STARTTRANSFER_TIME_T: "STARTTRANSFER_TIME_T"

    The time it took from the start until the first byte is received by libcurl. In microseconds.

    Official libcurl documentation: https://curl.haxx.se/libcurl/c/CURLINFO_STARTTRANSFER_TIME_T.html

    TLS_SESSION: "TLS_SESSION"

    (Deprecated) TLS session info that can be used for further processing. See CURLINFO_TLS_SESSION. Use CURLINFO_TLS_SSL_PTR instead.

    Official libcurl documentation: https://curl.haxx.se/libcurl/c/CURLINFO_TLS_SESSION.html

    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

    TOTAL_TIME: "TOTAL_TIME"

    Total time of previous transfer.

    Official libcurl documentation: https://curl.haxx.se/libcurl/c/CURLINFO_TOTAL_TIME.html

    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

    USED_PROXY: "USED_PROXY"

    Whether the proxy was used (Added in 8.7.0).

    Official libcurl documentation: https://curl.haxx.se/libcurl/c/CURLINFO_USED_PROXY.html

    XFER_ID: "XFER_ID"

    The ID of the transfer. (Added in 8.2.0)

    Official libcurl documentation: https://curl.haxx.se/libcurl/c/CURLINFO_XFER_ID.html

    MMNEPVFCICPMFPCPTTAAATR