X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=docs%2Ffunctions.html;h=e44c943d97bd552c9f16ec0599f07c49994ff4de;hp=100e1f3d500032e619e0b349a7d736e065d9bc6c;hb=81393f5f14aabce6fb7fe1c2ff6412813edcdb79;hpb=c4d95e923b40160d814c7e4e0a822332bbd65bdb diff --git a/docs/functions.html b/docs/functions.html index 100e1f3..e44c943 100644 --- a/docs/functions.html +++ b/docs/functions.html @@ -205,8 +205,7 @@ array where the following keys will be recognized:

 - redirect:
  - lastmodified:     int, timestamp for If-(Un)Modified-Since header
- timeout: int, seconds the request may take
- connecttimeout: int, seconds the connect may take
- - onprogress: mixed, progress callback
- - ondebug: mixed, debug callback

The optional third parameter will be filled with some additional information
+ - onprogress: mixed, progress callback

The optional third parameter will be filled with some additional information
in form af an associative array, if supplied, like the following example:


<?php
array (
    
'effective_url' => 'http://localhost',
    
'response_code' => 403,
    
'total_time' => 0.017,
    
'namelookup_time' => 0.013,
    
'connect_time' => 0.014,
    
'pretransfer_time' => 0.014,
    
'size_upload' => 0,
    
'size_download' => 202,
    
'speed_download' => 11882,
    
'speed_upload' => 0,
    
'header_size' => 145,
    
'request_size' => 62,
    
'ssl_verifyresult' => 0,
    
'filetime' => -1,
    
'content_length_download' => 202,
    
'content_length_upload' => 0,
    
'starttransfer_time' => 0.017,
    
'content_type' => 'text/html; charset=iso-8859-1',
    
'redirect_time' => 0,
    
'redirect_count' => 0,
    
'private' => '',
    
'http_connectcode' => 0,
    
'httpauth_avail' => 0,
    
'proxyauth_avail' => 0,
)
?>

@@ -410,6 +409,8 @@ Affects only PUT requests.

See http_get() for a full list of returned info.

HttpMessage HttpRequest::getResponseMessage()

Get the full response as HttpMessage object.

+

HttpMessage HttpRequest::getRequestMessage()

+

Get sent HTTP message.

bool HttpRequest::send()

Send the HTTP request.

@@ -541,7 +542,7 @@ Example:




-

Generated at: Mon, 25 Jul 2005 14:47:50 +0200

+

Generated at: Mon, 01 Aug 2005 09:46:36 +0200