httpRequestIt

package

Default

Methods

Authenticate

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

Arguments

$headers

$proxy

integer

$proxy_authorization

$user

$password

$realm

$workstation

Close

Close() 

Connect

Connect( $host_name,  $host_port, boolean $ssl,  $server_type = 'HTTP') 

Arguments

$host_name

$host_port

$ssl

boolean

$server_type

ConnectFromProxy

ConnectFromProxy( $arguments,  &$headers) 

Arguments

$arguments

$headers

CookieEncode

CookieEncode( $value, integer $name) 

Arguments

$value

$name

integer

Disconnect

Disconnect() 

EndOfInput

EndOfInput() 

FlushData

FlushData() 

GetFileDefinition

GetFileDefinition( $file,  &$definition) 

Arguments

$file

$definition

GetLine

GetLine() 

GetPersistentCookies

GetPersistentCookies( &$cookies,  $domain = '',  $secure_only) 

Arguments

$cookies

$domain

$secure_only

GetRequestArguments

GetRequestArguments( $url,  &$arguments) : string

Arguments

$url

$arguments

Response

string

Open

Open( $arguments) 

Arguments

$arguments

OutputDebug

OutputDebug( $message) 

Arguments

$message

PickCookies

PickCookies( &$cookies, integer $secure) 

Arguments

$cookies

$secure

integer

PutData

PutData( $data) 

Arguments

$data

PutLine

PutLine( $line) 

Arguments

$line

ReadBytes

ReadBytes(integer $length) : string

Arguments

$length

integer

Response

string

ReadChunkSize

ReadChunkSize() : string

Response

string

ReadReplyBody

ReadReplyBody( &$body, integer $length) 

Arguments

$body

$length

integer

ReadReplyHeaders

ReadReplyHeaders( &$headers) 

Arguments

$headers

ReadReplyHeadersResponse

ReadReplyHeadersResponse( &$headers) 

Arguments

$headers

Redirect

Redirect( &$headers) 

Arguments

$headers

Resolve

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

Arguments

$domain

$ip

$server_type

string

RestoreCookies

RestoreCookies( $cookies,  $clear = 1) 

Arguments

$cookies

$clear

SaveCookies

SaveCookies( &$cookies,  $domain = '',  $secure_only,  $persistent_only) 

Arguments

$cookies

$domain

$secure_only

$persistent_only

SavePersistentCookies

SavePersistentCookies( &$cookies,  $domain = '',  $secure_only) 

Arguments

$cookies

$domain

$secure_only

SendRequest

SendRequest( $arguments) 

Arguments

$arguments

SendRequestBody

SendRequestBody( $data,  $end_of_data) 

Arguments

$data

$end_of_data

SetCookie

SetCookie(string $name,  $value,  $expires = "",  $path = "/",  $domain = "",  $secure,  $verbatim) : string

Arguments

$name

string

$value

$expires

$path

$domain

$secure

$verbatim

Response

string

SetDataAccessError

SetDataAccessError(string $error,  $check_connection) 

Arguments

$error

string

$check_connection

SetError

SetError( $error) 

Arguments

$error

SetPHPError

SetPHPError(string $error,  &$php_error_message) 

Arguments

$error

string

$php_error_message

Tokenize

Tokenize( $string,  $separator = "") 

Arguments

$string

$separator

Properties

host_name

host_name : 

Type(s)

host_port

host_port : 

Type(s)

proxy_host_name

proxy_host_name : 

Type(s)

proxy_host_port

proxy_host_port : 

Type(s)

socks_host_name

socks_host_name : 

Type(s)

socks_host_port

socks_host_port : 

Type(s)

socks_version

socks_version : 

Type(s)

protocol

protocol : 

Type(s)

request_method

request_method : 

Type(s)

user_agent

user_agent : 

Type(s)

authentication_mechanism

authentication_mechanism : 

Type(s)

user

user : 

Type(s)

password

password : 

Type(s)

realm

realm : 

Type(s)

workstation

workstation : 

Type(s)

proxy_authentication_mechanism

proxy_authentication_mechanism : 

Type(s)

proxy_user

proxy_user : 

Type(s)

proxy_password

proxy_password : 

Type(s)

proxy_realm

proxy_realm : 

Type(s)

proxy_workstation

proxy_workstation : 

Type(s)

request_uri

request_uri : 

Type(s)

request

request : 

Type(s)

request_headers

request_headers : 

Type(s)

request_user

request_user : 

Type(s)

request_password

request_password : 

Type(s)

request_realm

request_realm : 

Type(s)

request_workstation

request_workstation : 

Type(s)

proxy_request_user

proxy_request_user : 

Type(s)

proxy_request_password

proxy_request_password : 

Type(s)

proxy_request_realm

proxy_request_realm : 

Type(s)

proxy_request_workstation

proxy_request_workstation : 

Type(s)

request_body

request_body : 

Type(s)

request_arguments

request_arguments : 

Type(s)

protocol_version

protocol_version : 

Type(s)

timeout

timeout : 

Type(s)

data_timeout

data_timeout : 

Type(s)

debug

debug : 

Type(s)

debug_response_body

debug_response_body : 

Type(s)

html_debug

html_debug : 

Type(s)

support_cookies

support_cookies : 

Type(s)

cookies

cookies : 

Type(s)

error

error : 

Type(s)

exclude_address

exclude_address : 

Type(s)

follow_redirect

follow_redirect : 

Type(s)

redirection_limit

redirection_limit : 

Type(s)

response_status

response_status : 

Type(s)

response_message

response_message : 

Type(s)

file_buffer_length

file_buffer_length : 

Type(s)

force_multipart_form_post

force_multipart_form_post : 

Type(s)

prefer_curl

prefer_curl : 

Type(s)

state

state : 

Type(s)

use_curl

use_curl : 

Type(s)

connection

connection : 

Type(s)

content_length

content_length : 

Type(s)

response

response : 

Type(s)

read_response

read_response : 

Type(s)

read_length

read_length : 

Type(s)

request_host

request_host : 

Type(s)

next_token

next_token : 

Type(s)

redirection_level

redirection_level : 

Type(s)

chunked

chunked : 

Type(s)

remaining_chunk

remaining_chunk : 

Type(s)

last_chunk_read

last_chunk_read : 

Type(s)

months

months : 

Type(s)

session

session : 

Type(s)

connection_close

connection_close : 

Type(s)