Geeklog
[ class tree: Geeklog ] [ index: Geeklog ] [ all elements ]

Class: http_class

Source Location: /system/classes/http/http.php

Class Overview




Variables

Methods



Class Details

[line 18]


[ Top ]


Class Variables

$accept = ''

[line 31]


Type:   mixed


[ Top ]

$authentication_mechanism = ""

[line 32]


Type:   mixed


[ Top ]

$chunked = 0

[line 89]


Type:   mixed


[ Top ]

$connected_host =  ''

[line 108]


Type:   mixed


[ Top ]

$connected_port =  -1

[line 109]


Type:   mixed


[ Top ]

$connected_ssl =  0

[line 110]


Type:   mixed


[ Top ]

$connection = 0

[line 81]


Type:   mixed


[ Top ]

$connection_close = 0

[line 106]


Type:   mixed


[ Top ]

$content_length = 0

[line 82]


Type:   mixed


[ Top ]

$cookies = array()

[line 63]


Type:   mixed


[ Top ]

$data_timeout = 0

[line 57]


Type:   mixed


[ Top ]

$debug = 0

[line 58]


Type:   mixed


[ Top ]

$debug_response_body = 1

[line 60]


Type:   mixed


[ Top ]

$error = ""

[line 64]


Type:   mixed


[ Top ]

$error_code =  HTTP_CLIENT_ERROR_NO_ERROR

[line 65]


Type:   mixed


[ Top ]

$exclude_address = ""

[line 66]


Type:   mixed


[ Top ]

$file_buffer_length = 8000

[line 71]


Type:   mixed


[ Top ]

$follow_redirect = 0

[line 67]


Type:   mixed


[ Top ]

$force_close =  0

[line 107]


Type:   mixed


[ Top ]

$force_multipart_form_post = 0

[line 72]


Type:   mixed


[ Top ]

$host_name = ""

[line 20]


Type:   mixed


[ Top ]

$host_port = 0

[line 21]


Type:   mixed


[ Top ]

$html_debug = 0

[line 61]


Type:   mixed


[ Top ]

$keep_alive =  1

[line 74]


Type:   mixed


[ Top ]

$last_chunk_read = 0

[line 91]


Type:   mixed


[ Top ]

$log_debug = 0

[line 59]


Type:   mixed


[ Top ]

$months = array(
      "Jan"=>"01",
      "Feb"=>"02",
      "Mar"=>"03",
      "Apr"=>"04",
      "May"=>"05",
      "Jun"=>"06",
      "Jul"=>"07",
      "Aug"=>"08",
      "Sep"=>"09",
      "Oct"=>"10",
      "Nov"=>"11",
      "Dec"=>"12")

[line 92]


Type:   mixed


[ Top ]

$next_token = ""

[line 87]


Type:   mixed


[ Top ]

$password =

[line 34]


Type:   mixed


[ Top ]

$prefer_curl =  0

[line 73]


Type:   mixed


[ Top ]

$protocol = "http"

[line 28]


Type:   mixed


[ Top ]

$protocol_version = "1.1"

[line 55]


Type:   mixed


[ Top ]

$proxy_authentication_mechanism = ""

[line 37]


Type:   mixed


[ Top ]

$proxy_host_name = ""

[line 22]


Type:   mixed


[ Top ]

$proxy_host_port = 80

[line 23]


Type:   mixed


[ Top ]

$proxy_password =

[line 39]


Type:   mixed


[ Top ]

$proxy_realm =

[line 40]


Type:   mixed


[ Top ]

$proxy_request_password =

[line 50]


Type:   mixed


[ Top ]

$proxy_request_realm =

[line 51]


Type:   mixed


[ Top ]

$proxy_request_user =

[line 49]


Type:   mixed


[ Top ]

$proxy_request_workstation =

[line 52]


Type:   mixed


[ Top ]

$proxy_user =

[line 38]


Type:   mixed


[ Top ]

$proxy_workstation =

[line 41]


Type:   mixed


[ Top ]

$read_length = 0

[line 85]


Type:   mixed


[ Top ]

$read_response = 0

[line 84]


Type:   mixed


[ Top ]

$realm =

[line 35]


Type:   mixed


[ Top ]

$redirection_level = 0

[line 88]


Type:   mixed


[ Top ]

$redirection_limit = 5

[line 68]


Type:   mixed


[ Top ]

$remaining_chunk = 0

[line 90]


Type:   mixed


[ Top ]

$request = ""

[line 43]


Type:   mixed


[ Top ]

$request_arguments = array()

[line 54]


Type:   mixed


[ Top ]

$request_body = ""

[line 53]


Type:   mixed


[ Top ]

$request_headers = array()

[line 44]


Type:   mixed


[ Top ]

$request_host = ""

[line 86]


Type:   mixed


[ Top ]

$request_method = "GET"

[line 29]


Type:   mixed


[ Top ]

$request_password =

[line 46]


Type:   mixed


[ Top ]

$request_realm =

[line 47]


Type:   mixed


[ Top ]

$request_uri = ""

[line 42]


Type:   mixed


[ Top ]

$request_user =

[line 45]


Type:   mixed


[ Top ]

$request_workstation =

[line 48]


Type:   mixed


[ Top ]

$response = ""

[line 83]


Type:   mixed


[ Top ]

$response_message = ""

[line 70]


Type:   mixed


[ Top ]

$response_status = ""

[line 69]


Type:   mixed


[ Top ]

$sasl_authenticate =  1

[line 75]


Type:   mixed


[ Top ]

$session = ''

[line 105]


Type:   mixed


[ Top ]

$socks_host_name =  ''

[line 24]


Type:   mixed


[ Top ]

$socks_host_port =  1080

[line 25]


Type:   mixed


[ Top ]

$socks_version =  '5'

[line 26]


Type:   mixed


[ Top ]

$state = "Disconnected"

[line 79]


Type:   mixed


[ Top ]

$support_cookies = 1

[line 62]


Type:   mixed


[ Top ]

$timeout = 0

[line 56]


Type:   mixed


[ Top ]

$user =

[line 33]


Type:   mixed


[ Top ]

$user_agent = 'httpclient (http://www.phpclasses.org/httpclient $Revision: 1.94 $)'

[line 30]


Type:   mixed


[ Top ]

$use_curl = 0

[line 80]


Type:   mixed


[ Top ]

$workstation =

[line 36]


Type:   mixed


[ Top ]



Class Methods


method Authenticate [line 1698]

void Authenticate( &$headers, $proxy, &$proxy_authorization, &$user, &$password, &$realm, &$workstation)



Parameters:

   &$headers  
   $proxy  
   &$proxy_authorization  
   &$user  
   &$password  
   &$realm  
   &$workstation  

[ Top ]

method Close [line 760]

void Close( [ $force = 0])



Parameters:

   $force  

[ Top ]

method Connect [line 393]

void Connect( $host_name, $host_port, $ssl, [ $server_type = 'HTTP'])



Parameters:

   $host_name  
   $host_port  
   $ssl  
   $server_type  

[ Top ]

method ConnectFromProxy [line 1017]

void ConnectFromProxy( $arguments, &$headers)



Parameters:

   $arguments  
   &$headers  

[ Top ]

method CookieEncode [line 138]

void CookieEncode( $value, $name)



Parameters:

   $value  
   $name  

[ Top ]

method Disconnect [line 560]

void Disconnect( )



[ Top ]

method EndOfInput [line 364]

void EndOfInput( )



[ Top ]

method FlushData [line 262]

void FlushData( )



[ Top ]

method GetFileDefinition [line 813]

void GetFileDefinition( $file, &$definition)



Parameters:

   $file  
   &$definition  

[ Top ]

method GetLine [line 196]

void GetLine( )



[ Top ]

method GetPersistentCookies [line 2089]

void GetPersistentCookies( &$cookies, [ $domain = ''], [ $secure_only = 0])



Parameters:

   &$cookies  
   $domain  
   $secure_only  

[ Top ]

method GetRequestArguments [line 577]

void GetRequestArguments( $url, &$arguments)



Parameters:

   $url  
   &$arguments  

[ Top ]

method Open [line 629]

void Open( $arguments)



Parameters:

   $arguments  

[ Top ]

method OutputDebug [line 177]

void OutputDebug( $message)



Parameters:

   $message  

[ Top ]

method PickCookies [line 777]

void PickCookies( &$cookies, $secure)



Parameters:

   &$cookies  
   $secure  

[ Top ]

method PutData [line 247]

void PutData( $data)



Parameters:

   $data  

[ Top ]

method PutLine [line 235]

void PutLine( $line)



Parameters:

   $line  

[ Top ]

method ReadBytes [line 297]

void ReadBytes( $length)



Parameters:

   $length  

[ Top ]

method ReadChunkSize [line 272]

void ReadChunkSize( )



[ Top ]

method ReadReplyBody [line 1958]

void ReadReplyBody( &$body, $length)



Parameters:

   &$body  
   $length  

[ Top ]

method ReadReplyHeaders [line 1927]

void ReadReplyHeaders( &$headers)



Parameters:

   &$headers  

[ Top ]

method ReadReplyHeadersResponse [line 1523]

void ReadReplyHeadersResponse( &$headers)



Parameters:

   &$headers  

[ Top ]

method ReadWholeReplyBody [line 2000]

void ReadWholeReplyBody( &$body)



Parameters:

   &$body  

[ Top ]

method ReadWholeReplyIntoTemporaryFile [line 2013]

void ReadWholeReplyIntoTemporaryFile( &$file)



Parameters:

   &$file  

[ Top ]

method Redirect [line 1655]

void Redirect( &$headers)



Parameters:

   &$headers  

[ Top ]

method Resolve [line 375]

void Resolve( $domain, &$ip, $server_type)



Parameters:

   $domain  
   &$ip  
   $server_type  

[ Top ]

method RestoreCookies [line 2094]

void RestoreCookies( $cookies, [ $clear = 1])



Parameters:

   $cookies  
   $clear  

[ Top ]

method SaveCookies [line 2043]

void SaveCookies( &$cookies, [ $domain = ''], [ $secure_only = 0], [ $persistent_only = 0])



Parameters:

   &$cookies  
   $domain  
   $secure_only  
   $persistent_only  

[ Top ]

method SavePersistentCookies [line 2084]

void SavePersistentCookies( &$cookies, [ $domain = ''], [ $secure_only = 0])



Parameters:

   &$cookies  
   $domain  
   $secure_only  

[ Top ]

method SendRequest [line 1067]

void SendRequest( $arguments)



Parameters:

   $arguments  

[ Top ]

method SendRequestBody [line 1487]

void SendRequestBody( $data, $end_of_data)



Parameters:

   $data  
   $end_of_data  

[ Top ]

method SetCookie [line 1455]

void SetCookie( $name, $value, [ $expires = ""], [ $path = "/"], [ $domain = ""], [ $secure = 0], [ $verbatim = 0])



Parameters:

   $name  
   $value  
   $expires  
   $path  
   $domain  
   $secure  
   $verbatim  

[ Top ]

method SetDataAccessError [line 157]

void SetDataAccessError( $error, [ $check_connection = 0])



Parameters:

   $error  
   $check_connection  

[ Top ]

method SetError [line 143]

void SetError( $error, [ $error_code = HTTP_CLIENT_ERROR_UNSPECIFIED_ERROR])



Parameters:

   $error  
   $error_code  

[ Top ]

method SetPHPError [line 149]

void SetPHPError( $error, &$php_error_message, [ $error_code = HTTP_CLIENT_ERROR_UNSPECIFIED_ERROR])



Parameters:

   $error  
   &$php_error_message  
   $error_code  

[ Top ]

method Tokenize [line 114]

void Tokenize( $string, [ $separator = ""])



Parameters:

   $string  
   $separator  

[ Top ]


Documentation generated on Sun, 02 Oct 2016 07:49:45 +0000 by phpDocumentor 1.4.3