thanks git
[mdref/mdref-http] / http / Client / Curl.md
index 12fc7f9ae51aa0f25e3159d90afbd254ad7513a9..eefb02dfabc6d7f9d4aaea8aff98ddec2c948225 100644 (file)
@@ -6,12 +6,12 @@ The http\Client\Curl namespace holds option value constants specific to the curl
 
 ### Features and Versions:
 
-* FEATURES
-  Bitmask of available libcurl features.
+* FEATURES  
+  Bitmask of available libcurl features.  
   See http\Client\Curl\Features namespace.
-* VERSIONS
-  List of library versions of or linked into libcurl,
-  e.g. "libcurl/7.50.0 OpenSSL/1.0.2h zlib/1.2.8 libidn/1.32 nghttp2/1.12.0".
+* VERSIONS  
+  List of library versions of or linked into libcurl,  
+  e.g. "libcurl/7.50.0 OpenSSL/1.0.2h zlib/1.2.8 libidn/1.32 nghttp2/1.12.0".  
   See http\Client\Curl\Versions namespace.
 
 ### HTTP Protocol Version
@@ -126,7 +126,7 @@ The option names used here are more or less derived from the corresponding CURLO
   Comma separated list of hosts where no proxy should be used. Available if libcurl is v7.19.4 or more recent.
 * array $proxyheader  
   List of key/value pairs of headers which should only be sent to a proxy. Available if libcurl is v7.37.0 or more recent.
-* string $proxy_service_name
+* string $proxy_service_name  
   Proxy service name. The default service name is "HTTP" for HTTP based proxies and "rcmd" for SOCKS5. Available if libcurl is v7.43.0 or more recent and has built-in GSSAPI support.
 
 ### DNS
@@ -182,7 +182,7 @@ The option names used here are more or less derived from the corresponding CURLO
   Disable [Nagle's algotrithm](http://tools.ietf.org/html/rfc896).
 * string $unix_socket_path  
   Connect to the webserver listening at $unix_socket_path instead of opening a TCP connection to it. Available if libcurl is v7.40.0 or more recent.
-* bool $path_as_is
+* bool $path_as_is  
   Do *not* squash sequences of "/../" or "/./" that may exist in the URL's path.
 
 ### Authentication
@@ -191,7 +191,7 @@ The option names used here are more or less derived from the corresponding CURLO
   user:password
 * int $httpauthtype  
   See http\Client\Curl\AUTH_* constants.
-* string $service_name
+* string $service_name  
   The name of the service for DIGEST-MD5, SPNEGO and KERBEROS5 authentication mechanisms. The default service name is "HTTP". Available if libcurl is v7.43.0 or more recent.
 
 ### Redirection
@@ -300,7 +300,7 @@ The option names used here are more or less derived from the corresponding CURLO
     TLS-SRP password. Available if libcurl is v7.21.4 or more recent.
   * bool $verifystatus  
     Enable OCSP. Available if libcurl is v7.41.0 or more recent and was built with OpenSSL, GnuTLS or NSS support.
-  * bool $falsestart
+  * bool $falsestart  
     Whether false start should be used during the TLS handshake. Available if libcurl is v7.42.0 or more recent and was built with NSS or SecureTransport support.
 
 ## Configuration:
@@ -323,11 +323,11 @@ The option names used here are more or less derived from the corresponding CURLO
   Simple list of server software names to blacklist for pipelining. Available if libcurl is v7.30.0 or more recent.
 * array $pipelining_site_bl  
   Simple list of server host names to blacklist for pipelining. Available if libcurl is v7.30.0 or more recent.
-* mixed $use_eventloop
+* mixed $use_eventloop  
   Whether to use an event loop. This option accepts either bool, whether to use
   the internal event loop, or an instance of an http\Client\Curl\User implementation.
   The internal event loop is only available if pecl/http was built with libevent support.
-* bool $share_cookies
+* bool $share_cookies  
   Whether to let the client share cookies between requests.
-* bool $share_ssl
+* bool $share_ssl  
   Whether to let the client share SSL/TLS sessions between requests. Available if libcurl is v7.23.0 or more recent.