httpRequestIt

Methods

Tokenize

Tokenize($string, $separator = "") 

Arguments

$string

$separator

CookieEncode

CookieEncode($value, integer $name) 

Arguments

$value

$name

integer

SetError

SetError($error) 

Arguments

$error

SetPHPError

SetPHPError(string $error, $php_error_message) 

Arguments

$error

string

$php_error_message

SetDataAccessError

SetDataAccessError(string $error, $check_connection) 

Arguments

$error

string

$check_connection

OutputDebug

OutputDebug($message) 

Arguments

$message

GetLine

GetLine() 

PutLine

PutLine($line) 

Arguments

$line

PutData

PutData($data) 

Arguments

$data

FlushData

FlushData() 

ReadChunkSize

ReadChunkSize() : string

Response

string

ReadBytes

ReadBytes(integer $length) : string

Arguments

$length

integer

Response

string

EndOfInput

EndOfInput() 

Resolve

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

Arguments

$domain

$ip

$server_type

string

Connect

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

Arguments

$host_name

$host_port

$ssl

boolean

$server_type

Disconnect

Disconnect() 

GetRequestArguments

GetRequestArguments($url, $arguments) : string

Arguments

$url

$arguments

Response

string

Open

Open($arguments) 

Arguments

$arguments

Close

Close() 

PickCookies

PickCookies($cookies, integer $secure) 

Arguments

$cookies

$secure

integer

GetFileDefinition

GetFileDefinition($file, $definition) 

Arguments

$file

$definition

ConnectFromProxy

ConnectFromProxy($arguments, $headers) 

Arguments

$arguments

$headers

SendRequest

SendRequest($arguments) 

Arguments

$arguments

SetCookie

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

Arguments

$name

string

$value

$expires

$path

$domain

$secure

$verbatim

Response

string

SendRequestBody

SendRequestBody($data, $end_of_data) 

Arguments

$data

$end_of_data

ReadReplyHeadersResponse

ReadReplyHeadersResponse($headers) 

Arguments

$headers

Redirect

Redirect($headers) 

Arguments

$headers

Authenticate

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

Arguments

$headers

$proxy

integer

$proxy_authorization

$user

$password

$realm

$workstation

ReadReplyHeaders

ReadReplyHeaders($headers) 

Arguments

$headers

ReadReplyBody

ReadReplyBody($body, integer $length) 

Arguments

$body

$length

integer

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

GetPersistentCookies

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

Arguments

$cookies

$domain

$secure_only

RestoreCookies

RestoreCookies($cookies, $clear = 1) 

Arguments

$cookies

$clear

Properties

host_name

host_name : 

host_port

host_port : 

proxy_host_name

proxy_host_name : 

proxy_host_port

proxy_host_port : 

socks_host_name

socks_host_name : 

socks_host_port

socks_host_port : 

socks_version

socks_version : 

protocol

protocol : 

request_method

request_method : 

user_agent

user_agent : 

authentication_mechanism

authentication_mechanism : 

user

user : 

password

password : 

realm

realm : 

workstation

workstation : 

proxy_authentication_mechanism

proxy_authentication_mechanism : 

proxy_user

proxy_user : 

proxy_password

proxy_password : 

proxy_realm

proxy_realm : 

proxy_workstation

proxy_workstation : 

request_uri

request_uri : 

request

request : 

request_headers

request_headers : 

request_user

request_user : 

request_password

request_password : 

request_realm

request_realm : 

request_workstation

request_workstation : 

proxy_request_user

proxy_request_user : 

proxy_request_password

proxy_request_password : 

proxy_request_realm

proxy_request_realm : 

proxy_request_workstation

proxy_request_workstation : 

request_body

request_body : 

request_arguments

request_arguments : 

protocol_version

protocol_version : 

timeout

timeout : 

data_timeout

data_timeout : 

debug

debug : 

debug_response_body

debug_response_body : 

html_debug

html_debug : 

support_cookies

support_cookies : 

cookies

cookies : 

error

error : 

exclude_address

exclude_address : 

follow_redirect

follow_redirect : 

redirection_limit

redirection_limit : 

response_status

response_status : 

response_message

response_message : 

file_buffer_length

file_buffer_length : 

force_multipart_form_post

force_multipart_form_post : 

prefer_curl

prefer_curl : 

state

state : 

use_curl

use_curl : 

connection

connection : 

content_length

content_length : 

response

response : 

read_response

read_response : 

read_length

read_length : 

request_host

request_host : 

next_token

next_token : 

redirection_level

redirection_level : 

chunked

chunked : 

remaining_chunk

remaining_chunk : 

last_chunk_read

last_chunk_read : 

months

months : 

session

session : 

connection_close

connection_close :