X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=docs%2Ffunctions.html;h=e0d1e1c07131103a6cac648937d3137e87ae42e1;hb=28676404f30a0814a8e027d63b3cec4959475c46;hp=2f7668eba3f34fa59899367cc1ff42e8f450232d;hpb=2d31adababe7af92c0153f8eff813c582c3d566c;p=m6w6%2Fext-http diff --git a/docs/functions.html b/docs/functions.html index 2f7668e..e0d1e1c 100644 --- a/docs/functions.html +++ b/docs/functions.html @@ -396,6 +396,15 @@ See http_get() for a full list of available options.
Expects the second parameter to be a string containing the data to upload.
See http_get() for a full list of available options.
Returns the HTTP response(s) as string on success, or FALSE on failure.
+Performs a custom HTTP request on the supplied url.
+Expects the first parameter to be an integer specifying the request method to use.
+Accepts an optional third string parameter containing the raw request body.
+See http_get() for a full list of available options.
Returns the HTTP response(s) as string on success, or FALSE on failure.
+Generate x-www-form-urlencoded resp. form-data encoded request body.
+Returns encoded string on success, or FALSE on failure.
Register a custom request method.
Expects a string parameter containing the request method name to register.
@@ -566,7 +575,7 @@ HttpMessage::TYPE_REQUEST or supplied URL was empty.Get parent Message.
Returns the parent HttpMessage on success, or NULL if there's none.
-Throws HttpMessageException.
+Throws HttpRuntimeException.
Send the Message according to its type as Response or Request.
This provides limited functionality compared to HttpRequest and HttpResponse.
Re-constructs the HttpMessage based upon the serialized string.
Returns a clone of an HttpMessage object detached from any parent messages.
-Prepends message(s) to the HTTP message.
Expects an HttpMessage object as parameter.
+Throws HttpInvalidParamException if the message is located within the same message chain.
Reorders the message chain in reverse order.
Returns the most parent HttpMessage object.
@@ -623,7 +633,7 @@ Operates on and modifies $_GET and $_SERVER['QUERY_STRING'] if global is TRUE. "b" for bool, "i" for int, "f" for float, "s" for string, "a" for array and "o" for a stdClass object.Set query string entry/entries. NULL values will unset the variable.
-Get a single instance (differentiates between the global setting).
Converts the query string from the source encoding ie to the target encoding oe.
@@ -983,6 +993,7 @@ parameter is unset no header with this name will be sent.
Accepts a string as optional parameter which specifies the name of the
header to read. If the parameter is empty or omitted, an associative array
with all headers will be returned.
NOTE: In Apache2 this only works for PHP-5.1.3 and greater.
Returns either a string containing the value of the header matching name,
FALSE on failure, or an associative array with all headers.
Generated at: Tue, 07 Mar 2006 15:57:21 +0100
+Generated at: Thu, 13 Apr 2006 17:25:58 +0200