PHP
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

HttpMessage::__construct> <Request Options
Last updated: Fri, 01 Jun 2007

view this page in

HttpMessage

(No version information available, might be only in CVS)

HttpMessage — HTTP Message Class

Synopsis

   class HttpMessage implements Iterator, Countable, Serializable
  

Class Members

Properties

Table 109. 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 110. 

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

Methods

HttpMessage::construct()
HttpMessage::factory()
HttpMessage::fromEnv()
HttpMessage::fromString()
HttpMessage::toString()
HttpMessage::toMessageTypeObject()
HttpMessage::guessContentType()
HttpMessage::detach()
HttpMessage::prepend()
HttpMessage::reverse()
HttpMessage::send()
HttpMessage::getParentMessage()
HttpMessage::getType()
HttpMessage::setType()
HttpMessage::getHttpVersion()
HttpMessage::setHttpVersion()
HttpMessage::getHeaders()
HttpMessage::getHeader()
HttpMessage::addHeaders()
HttpMessage::setHeaders()
HttpMessage::getBody()
HttpMessage::setBody()
HttpMessage::getRequestMethod()
HttpMessage::setRequestMethod()
HttpMessage::getRequestUrl()
HttpMessage::setRequestUrl()
HttpMessage::getResponseCode()
HttpMessage::setResponseCode()
HttpMessage::getResponseStatus()
HttpMessage::setResponseStatus()


add a note add a note User Contributed Notes
HttpMessage
There are no user contributed notes for this page.

HttpMessage::__construct> <Request Options
Last updated: Fri, 01 Jun 2007
 
 
show source | credits | sitemap | contact | advertising | mirror sites