Module Curl
In: lib/curb.rb
ext/curb_postfield.c
ext/curb_errors.c
ext/curb_upload.c
ext/curb.c
ext/curb_multi.c
ext/curb_easy.c

curb_easy.c - Curl easy mode Copyright (c)2006 Ross Bamford. Licensed under the Ruby License. See LICENSE for details.

$Id: curb_easy.c 30 2006-12-09 12:30:24Z roscopeco $

Methods

asyncdns?   conv?   debug?   gssnegotiate?   idn?   ipv6?   kerberos4?   largefile?   libz?   ntlm?   spnego?   ssl?   sspi?  

Classes and Modules

Module Curl::Err
Class Curl::Easy
Class Curl::Multi
Class Curl::PostField
Class Curl::Upload

Constants

CURB_VERSION = rb_str_new2(CURB_VERSION)
VERSION = curlver
CURL_VERSION = curlver
VERNUM = curlvernum
CURL_VERNUM = curlvernum
LONG_VERSION = curllongver
CURL_LONG_VERSION = curllongver
CURLINFO_TEXT = INT2FIX(CURLINFO_TEXT)   Passed to on_debug handler to indicate that the data is informational text.
CURLINFO_HEADER_IN = INT2FIX(CURLINFO_HEADER_IN)   Passed to on_debug handler to indicate that the data is header (or header-like) data received from the peer.
CURLINFO_HEADER_OUT = INT2FIX(CURLINFO_HEADER_OUT)   Passed to on_debug handler to indicate that the data is header (or header-like) data sent to the peer.
CURLINFO_DATA_IN = INT2FIX(CURLINFO_DATA_IN)   Passed to on_debug handler to indicate that the data is protocol data received from the peer.
CURLINFO_DATA_OUT = INT2FIX(CURLINFO_DATA_OUT)   Passed to on_debug handler to indicate that the data is protocol data sent to the peer.
CURL_MULTICWD = INT2FIX(CURLFTPMETHOD_MULTICWD)
CURL_NOCWD = INT2FIX(CURLFTPMETHOD_NOCWD)
CURL_SINGLECWD = INT2FIX(CURLFTPMETHOD_SINGLECWD)
CURLPROXY_HTTP = INT2FIX(CURLPROXY_HTTP)
CURLPROXY_HTTP = INT2FIX(-1)
CURL_SSLVERSION_DEFAULT = INT2FIX(CURL_SSLVERSION_DEFAULT)
CURL_SSLVERSION_TLSv1 = INT2FIX(CURL_SSLVERSION_TLSv1)
CURL_SSLVERSION_SSLv2 = INT2FIX(CURL_SSLVERSION_SSLv2)
CURL_SSLVERSION_SSLv3 = INT2FIX(CURL_SSLVERSION_SSLv3)
CURL_USESSL_CONTROL = INT2FIX(CURB_FTPSSL_CONTROL)
CURL_USESSL_NONE = INT2FIX(CURB_FTPSSL_NONE)
CURL_USESSL_TRY = INT2FIX(CURB_FTPSSL_TRY)
CURL_USESSL_ALL = INT2FIX(CURB_FTPSSL_ALL)
CURL_SSLVERSION_DEFAULT = INT2FIX(-1)
CURL_SSLVERSION_TLSv1 = INT2FIX(-1)
CURL_SSLVERSION_SSLv2 = INT2FIX(-1)
CURL_SSLVERSION_SSLv3 = INT2FIX(-1)
CURL_USESSL_CONTROL = INT2FIX(-1)
CURL_USESSL_NONE = INT2FIX(-1)
CURL_USESSL_TRY = INT2FIX(-1)
CURL_USESSL_ALL = INT2FIX(-1)
CURLPROXY_SOCKS4 = INT2FIX(CURLPROXY_SOCKS4)
CURLPROXY_SOCKS4 = INT2FIX(-2)
CURLPROXY_SOCKS5 = INT2FIX(CURLPROXY_SOCKS5)
CURLPROXY_SOCKS5 = INT2FIX(-2)
CURLAUTH_BASIC = INT2FIX(CURLAUTH_BASIC)
CURLAUTH_BASIC = INT2FIX(0)
CURLAUTH_DIGEST = INT2FIX(CURLAUTH_DIGEST)
CURLAUTH_DIGEST = INT2FIX(0)
CURLAUTH_GSSNEGOTIATE = INT2FIX(CURLAUTH_GSSNEGOTIATE)
CURLAUTH_GSSNEGOTIATE = INT2FIX(0)
CURLAUTH_NTLM = INT2FIX(CURLAUTH_NTLM)
CURLAUTH_NTLM = INT2FIX(0)
CURLAUTH_ANYSAFE = INT2FIX(CURLAUTH_ANYSAFE)
CURLAUTH_ANYSAFE = INT2FIX(0)
CURLAUTH_ANY = INT2FIX(CURLAUTH_ANY)
CURLAUTH_ANY = INT2FIX(0)
HTTP_1_1 = LONG2NUM(CURL_HTTP_VERSION_1_1)
HTTP_1_0 = LONG2NUM(CURL_HTTP_VERSION_1_0)
HTTP_NONE = LONG2NUM(CURL_HTTP_VERSION_NONE)

Public Class methods

Returns true if the installed libcurl was built with support for asynchronous name lookups, which allows more exact timeouts (even on Windows) and less blocking when using the multi interface. For libcurl versions < 7.10.7, always returns false.

Returns true if the installed libcurl was built with support for character conversions. For libcurl versions < 7.15.4, always returns false.

Returns true if the installed libcurl was built with extra debug capabilities built-in. For libcurl versions < 7.10.6, always returns false.

Returns true if the installed libcurl supports HTTP GSS-Negotiate. For libcurl versions < 7.10.6, always returns false.

Returns true if the installed libcurl was built with support for IDNA, domain names with international letters. For libcurl versions < 7.12.0, always returns false.

Returns true if the installed libcurl supports IPv6.

Returns true if the installed libcurl supports Kerberos4 authentication with FTP connections.

Returns true if the installed libcurl was built with support for large files. For libcurl versions < 7.11.1, always returns false.

Returns true if the installed libcurl supports HTTP deflate using libz. For libcurl versions < 7.10, always returns false.

Returns true if the installed libcurl supports HTTP NTLM. For libcurl versions < 7.10.6, always returns false.

Returns true if the installed libcurl was built with support for SPNEGO authentication (Simple and Protected GSS-API Negotiation Mechanism, defined in RFC 2478). For libcurl versions < 7.10.8, always returns false.

Returns true if the installed libcurl supports SSL connections. For libcurl versions < 7.10, always returns false.

Returns true if the installed libcurl was built with support for SSPI. This is only available on Windows and makes libcurl use Windows-provided functions for NTLM authentication. It also allows libcurl to use the current user and the current user‘s password without the app having to pass them on. For libcurl versions < 7.13.2, always returns false.

[Validate]