* @version $Revision: 23 $ */ class Stomp_Message extends Stomp_Frame { public function __construct ($body, $headers = array()) { if(!isset($headers['content-length'])) { // TODO: log this, to see if this is correct $headers['content-length'] = strlen($body); } $this->_init("SEND", $headers, $body); } } ?>