X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=docs%2Ffunctions.html;fp=docs%2Ffunctions.html;h=d1725a19ff9e28e7b9e8319fe45b14c32a701e9b;hp=2c1a469bc0887b074c4d6005e4c6c22c7e253ee9;hb=dd199f9961262ed43fa544240df15a9d6d7d0f08;hpb=6c4aac679c57cea2e3f7524974509595dc1a31a2 diff --git a/docs/functions.html b/docs/functions.html index 2c1a469..d1725a1 100644 --- a/docs/functions.html +++ b/docs/functions.html @@ -327,9 +327,8 @@ array where the following keys will be recognized:

 - redirect:
  - cookies:          array, list of cookies as associative array
like array("cookie" => "value")
- encodecookies: bool, whether to urlencode the cookies (default: true)
- - resetcookies: bool, wheter to reset the cookies
- cookiestore: string, path to a file where cookies are/will be stored
- - cookiesession: bool, accept (true) or reset (false) sessioncookies
+ - cookiesession: bool, don't load session cookies from cookiestore if TRUE
- resume: int, byte offset to start the download from;
if the server supports ranges
- range: array, array of arrays, each containing two integers,
@@ -705,6 +704,12 @@ pairs to add.

array HttpRequest::getCookies()

Get previously set cookies.

Returns an associative array containing any previously set cookies.

+

bool HttpRequest::enableCookies()

+

Enable automatic sending of received cookies.
+Note that cuutomly set cookies will be sent anyway.

+

bool HttpRequest::resetCookies()

+

Reset all automatically received/sent cookies.
+Note that customly set cookies are not affected.

bool HttpRequest::setUrl(string url)

Set the request URL.

Expects a string as parameter specifying the request url.

@@ -1326,6 +1331,8 @@ http.cache_log is set.

  • HttpRequest::setCookies()
  • HttpRequest::addCookies()
  • HttpRequest::getCookies()
  • +
  • HttpRequest::enableCookies()
  • +
  • HttpRequest::resetCookies()
  • HttpRequest::setUrl()
  • HttpRequest::getUrl()
  • HttpRequest::setMethod()
  • @@ -1423,7 +1430,7 @@ http.cache_log is set.

    -

    Generated at: Fri, 19 May 2006 16:55:19 +0200

    +

    Generated at: Mon, 22 May 2006 11:19:25 +0200