opensrs\Base::send_data PHP Method

send_data() private method

Method to send data.
Since: 3.1
private send_data ( string $message ) : string
$message string XML request
return string $message XML response
    private function send_data($message)
    {
        if (!empty($this->osrs_debug)) {
            print_r('<pre>' . htmlentities($message) . '</pre>');
        }
        return $this->writeData($this->_socket, $message);
    }