PHP kézikönyv
Előző |  | Következő

# HttpMessage

(no version information, might be only in CVS)

HttpMessage -- HTTP Message Class

## Áttekintés

    class HttpMessage implements Iterator, Countable, Serializable

## Class Members

### Értékek (osztálytulajdonságok)

Táblázat 1. Instance Properties

Modifiers | Type | Name | Description
--- | --- | --- | ---
protected | int | type | message type
protected | string | body | message body
protected | float | httpVersion | HTTP protocol version
protected | array | headers | message headers
protected | string | requestMethod | request method name
protected | requestUrl | string | request URL
protected | int | responseCode | response code
protected | string | responseStatus | response status message
protected | HttpMessage | parentMessage | reference to parent message

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

### Előre definiált állandók

Táblázat 2.

Type | Name | Description
--- | --- | ---
int | TYPE_NONE | message has is of no specific type
int | TYPE_REQUEST | message is a request style HTTP message
int | TYPE_RESPONSE | message is a response style HTTP message

### Műveletek (osztálymetódusok)

HttpMessage::construct()
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()

Előző | Tartalom | Következő
Constants | Fel | HttpMessage::__construct