dmBridge PHP API
DMHTTPMessage Class Reference

Abstract class from which requests and responses inherit. More...

Inheritance diagram for DMHTTPMessage:

Public Member Functions

Protected Attributes


Detailed Description

Abstract class from which requests and responses inherit.

Author:
Alex Dolski <alex.dolski@unlv.edu> http://www.opensource.org/licenses/mit-license.php

Definition at line 15 of file DMHTTPMessage.php.


Member Function Documentation

DMHTTPMessage::addHeader ( key,
value 
)
Parameters:
stringkey
stringvalue

Definition at line 29 of file DMHTTPMessage.php.

DMHTTPMessage::getHeaders ( )
Returns:
array Array of arrays with 'key' and 'value' keys.

Definition at line 39 of file DMHTTPMessage.php.

Referenced by DMHTTPResponse::send().

DMHTTPMessage::getHTTPVersion ( )
Returns:
string

Definition at line 53 of file DMHTTPMessage.php.

Referenced by DMHTTPResponse::send().

DMHTTPMessage::getRepresentation ( )
Returns:
DMHTTPRepresentation

Definition at line 67 of file DMHTTPMessage.php.

Referenced by DMHTTPResponse::__toString(), and DMHTTPResponse::send().

DMHTTPMessage::setHTTPVersion ( version)
Parameters:
stringversion

Definition at line 60 of file DMHTTPMessage.php.

DMHTTPMessage::setRepresentation ( DMHTTPRepresentation rep)
Parameters:
DMHTTPRepresentationrep

Definition at line 74 of file DMHTTPMessage.php.

Referenced by DMHTTPRequest::__construct().


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables