src/whatsprot.class.php
public function sendNode($node, $encrypt = true)
    {
        $this->timeout = time();
        $this->debugPrint($node->nodeString('tx  ')."\n");
        $this->sendData($this->writer->write($node, $encrypt));
    }
public function sendNode($node, $encrypt = true)
    {
        $this->timeout = time();
        $this->debugPrint($node->nodeString('tx  ')."\n");
        $this->sendData($this->writer->write($node, $encrypt));
    }
public function sendNode ( $ node , $ encrypt = true ) { $ this -> timeout = time ( ) ; $ this -> debugPrint ( $ node -> nodeString ( 'tx  ' ) . "\n" ) ; $ this -> sendData ( $ this -> writer -> write ( $ node , $ encrypt ) ) ; }
Send node to the WhatsApp server.

@param ProtocolNode $node
@param bool         $encrypt
Send node to the WhatsApp server .