QXmpp::Iq::SendOptions Struct

struct QXmpp::Iq::SendOptions

Options for sending an IQ request via QXmppClient::sendIq(). More...

Header: #include <QXmppClient.h>
Since: QXmpp 1.18

Public Variables

bool encrypted
QXmppSendStanzaParams params

Detailed Description

Member Variable Documentation

bool SendOptions::encrypted

Whether the request and its response are end-to-end encrypted if possible.

The encryption is selected via the QXmpp::Iq::SelectEncryption hook. If no encryption is selected, the encryption extension (QXmppClient::setEncryptionExtension()) is used. Without encryption extension, the request is sent unencrypted, unless QXmppSendStanzaParams::isEncryptionRequired() is set in params: sending fails then.

QXmppSendStanzaParams SendOptions::params

Parameters for the end-to-end encryption