Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<ConstantsHttpMessage::__construct>
Last updated: Tue, 19 Sep 2006

HttpMessage

(no version information, might be only in CVS)

HttpMessage -- HTTP Message Class

Synopsis

class HttpMessage implements Iterator, Countable, Serializable

Class Members

Properties

Table 1. Instance Properties

ModifiersTypeNameDescription
protectedinttypemessage type
protectedstringbodymessage body
protectedfloathttpVersionHTTP protocol version
protectedarrayheadersmessage headers
protectedstringrequestMethodrequest method name
protectedrequestUrlstringrequest URL
protectedintresponseCoderesponse code
protectedstringresponseStatusresponse status message
protectedHttpMessageparentMessagereference to parent message

Note: None of these default properties can be accessed by reference, array key/index notation nor be used in increment or decrement operations.

Predefined Constants

Table 2.

TypeNameDescription
intTYPE_NONEmessage has is of no specific type
intTYPE_REQUESTmessage is a request style HTTP message
intTYPE_RESPONSEmessage is a response style HTTP message



<ConstantsHttpMessage::__construct>
Last updated: Tue, 19 Sep 2006