Made to Order Software Corporation Logo

PHP eFax: http_response Class Reference

http_response Class Reference

The response of a succesfull request. More...

Public Member Functions

 http_response ($body)
 Initialize the HTTP response object. More...
 
 getBody ()
 Retrieve the body of the HTTP response. More...
 

Detailed Description

When a request succeeds the http_request object returns an http_response object with the result read from the eFax server.

Member Function Documentation

http_response::getBody ( )

This function retrieves the body of the HTTP response.

Returns
The body data received in the response of our request.
http_response::http_response (   $body)

This function saves the different parameters in their required fields and return the response.

Parameters
[in]$bodyThe response body.

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