X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=docs%2Ffunctions.html;h=f785fd092f8916f6c99c7a4757743875670650a3;hb=dfe2dbf042d42f83255b6ff46c2210bcd57ca586;hp=1503d1a33ada8f096e9caa237a4bf1888c9d2d24;hpb=19ad90d1f12058345ceb651b4bed6ff0f298dd08;p=m6w6%2Fext-http diff --git a/docs/functions.html b/docs/functions.html index 1503d1a..f785fd0 100644 --- a/docs/functions.html +++ b/docs/functions.html @@ -337,6 +337,60 @@ See http_get() for a full list of available options.
Returns the request method name as string on success, or FALSE on failure.
Generates a form-encoded query string from an associative array or object.
+Compress data with the HTTP compatible GZIP encoding.
+Expects the first parameter to be a string which contains the data that
+should be encoded. Additionally accepts an optional in paramter specifying
+the compression level, where -1 is default, 0 is no compression and 9 is
+best compression ratio.
Returns the encoded string on success, or NULL on failure.
+Uncompress data compressed with the HTTP compatible GZIP encoding.
+Expects a string as parameter containing the compressed data.
+Returns the decoded string on success, or NULL on failure.
+Compress data with the HTTP compatible DEFLATE encoding.
+Expects the first parameter to be a string containing the data that should
+be encoded. Additionally accepts an optional int parameter specifying the
+compression level, where -1 is default, 0 is no compression and 9 is best
+compression ratio.
Returns the encoded string on success, or NULL on failure.
+Uncompress data compressed with the HTTP compatible DEFLATE encoding.
+Expects a string as parameter containing the compressed data.
+Returns the decoded string on success, or NULL on failure.
+Compress data with the HTTP compatible COMPRESS encoding.
+Expects the first parameter to be a string containing the data which should
+be encoded. Additionally accepts an optional int parameter specifying the
+compression level, where -1 is default, 0 is no compression and 9 is best
+compression ratio.
Returns the encoded string on success, or NULL on failure.
+Uncompress data compressed with the HTTP compatible COMPRESS encoding.
+Expects a string as parameter containing the compressed data.
+Returns the decoded string on success, or NULL on failure.
+Check for feature that require external libraries.
+Accpepts an optional in parameter specifying which feature to probe for.
+If the parameter is 0 or omitted, the return value contains a bitmask of
+all supported featuers that depend on external libraries.
Available features to probe for are:
+
Returns int, whether requested feature is supported, or a bitmask with
+all supported features.
Instantiate a new HttpRequest object.
Accepts a string as optional parameter containing the target request url.
Additianally accepts an optional int parameter specifying the request method
-to use.
Throws HttpException.
Destroys the HttpRequest object.
@@ -953,6 +1008,20 @@ http.cache_log is set.Generated at: Wed, 05 Oct 2005 15:34:24 +0000
+Generated at: Tue, 11 Oct 2005 11:33:16 +0000