Constructor
httpconnection
__construct
(string $httphost, [int $httpport = 80], [bool $ssl = false], [mixed $proxyhost = false], [int $proxyport = 3128], [string $useragent = 'PHP/ReptilerHTTPClass'])
-
string
$httphost
-
int
$httpport
-
bool
$ssl
-
mixed
$proxyhost
-
int
$proxyport
-
string
$useragent
Redefinition of:
- tcpconnection::__construct()
- Constructor
Redefined in descendants as:
Send a GET-request.
array
get
([string $uri = '/'], [array $parameters = array()], [array $cookies = array()], [string $authuser = ''], [string $authpassword = ''])
-
string
$uri
-
array
$parameters
-
array
$cookies
-
string
$authuser
-
string
$authpassword
Send a HEAD-request.
array
head
([string $uri = '/'], [array $parameters = array()], [array $cookies = array()], [string $authuser = ''], [string $authpassword = ''])
-
string
$uri
-
array
$parameters
-
array
$cookies
-
string
$authuser
-
string
$authpassword
Send a POST-request.
array
post
([string $uri = '/'], [array $parameters = array()], [array $cookies = array()], [array $fileparameters = array()], [array $mimetypes = array()], [string $authuser = ''], [string $authpassword = ''])
-
string
$uri
-
array
$parameters
-
array
$cookies
-
array
$fileparameters
-
array
$mimetypes
-
string
$authuser
-
string
$authpassword
Inherited Methods
Inherited From tcpconnection
tcpconnection::__construct()
tcpconnection::connect()
tcpconnection::connected()
tcpconnection::disconnect()
tcpconnection::read()
tcpconnection::readbytes()
tcpconnection::readline()
tcpconnection::setblocking()
tcpconnection::settimeout()
tcpconnection::write()