spunQ_HttpClientInformation Class Reference

Information about the client sending an http request. More...

Inheritance diagram for spunQ_HttpClientInformation:

List of all members.

Public Member Functions

 __construct ($ip, $port, spunQ_IHttpRequest $request)
 Constructor.
 getIp ()
 getPort ()
 getOsInformation ()
 getBrowserInformation ()

Protected Attributes

 $request
 The request to base guesses on.
 $ip
 Ip of the requesting client.
 $port
 Port the request was sent from on the remote ip.
 $osInformation = NULL
 Vague information on the operating system of the client.
 $browserInformation = NULL
 Vague information on the browser of the client.


Detailed Description

Information about the client sending an http request.

Definition at line 6 of file HttpClientInformation.class.php.


Constructor & Destructor Documentation

spunQ_HttpClientInformation::__construct ( ip,
port,
spunQ_IHttpRequest request 
)

Constructor.

Parameters:
$ip Ip of the requesting client.
$port Port the request was sent from on the remote ip.
$request The request to base guesses on.

Definition at line 48 of file HttpClientInformation.class.php.


Member Data Documentation

spunQ_HttpClientInformation::$browserInformation = NULL [protected]

Vague information on the browser of the client.

Vague, since it relies on spoofable HTTP headers.

Type:
spunQ.html.BrowserInformation

Definition at line 40 of file HttpClientInformation.class.php.

spunQ_HttpClientInformation::$ip [protected]

Ip of the requesting client.

Type:
string

Definition at line 18 of file HttpClientInformation.class.php.

spunQ_HttpClientInformation::$osInformation = NULL [protected]

Vague information on the operating system of the client.

Vague, since it relies on spoofable HTTP headers.

Type:
spunQ.html.OsInformation

Definition at line 33 of file HttpClientInformation.class.php.

spunQ_HttpClientInformation::$port [protected]

Port the request was sent from on the remote ip.

Type:
integer

Definition at line 26 of file HttpClientInformation.class.php.

spunQ_HttpClientInformation::$request [protected]

The request to base guesses on.

Type:
spunQ_IHttpRequest

Definition at line 12 of file HttpClientInformation.class.php.


The documentation for this class was generated from the following file:

Generated on Fri Jul 1 11:12:40 2011 for spunQ3 by  doxygen 1.5.9