## Zend_Http_Response

Description

- license: New BSD License
- copyright: Copyright (c) 2006 Zend Technologies USA Inc. (http://www.zend.com)

Located in /Zend/Http/Response.php (line 30)

Variable Summary
null|string $_body
null|int $_code
array $_headers
Method Summary
Zend_Http_Response __construct ([mixed $code = null], [ $headers = array()], [ $body = null])
string getBody ()
array getHeaders ()
int getStatus ()
boolean isError ()
boolean isRedirect ()
bool isSuccessful ()
Variables
null|string $_body (line 51)

Response body

- access: protected

null|int $_code (line 37)

HTTP Response Code (i.e. 404 or 200)

- access: protected

array $_headers (line 44)

Response Headers

- access: protected

Methods
Constructor __construct (line 59)

Class Constructor, read and parse HTTP response

- access: public

Zend_Http_Response __construct ([mixed $code = null], [ $headers = array()], [ $body = null])

- $headers
- $body

getBody (line 106)

Get Response Body

- access: public

string getBody ()
getHeaders (line 128)

Return Response Headers

- access: public

array getHeaders ()
getStatus (line 117)

Return Response Status

- access: public

int getStatus ()
isError (line 72)

Check if Response is an error

- access: public

boolean isError ()
isRedirect (line 95)

Check if Response is a redirect

- access: public

boolean isRedirect ()
isSuccessful (line 84)

Check if Response is successful

- access: public

bool isSuccessful ()

Documentation generated on Tue, 11 Jul 2006 12:17:58 -0500 by phpDocumentor 1.3.0RC6