QXmpp::Iq Namespace
namespace QXmpp::Iq| Header: | #include <QXmppIqStanza.h> |
| Since: | QXmpp 1.18 |
Classes
(since QXmpp 1.18) class | Context |
(since QXmpp 1.18) struct | DefaultResponse |
(since QXmpp 1.18) class | EncryptionSelection |
(since QXmpp 1.18) struct | Received |
(since QXmpp 1.18) class | Reply |
(since QXmpp 1.18) struct | ResponseTraits |
(since QXmpp 1.18) struct | SelectEncryption |
(since QXmpp 1.18) struct | SendOptions |
(since QXmpp 1.18) struct | Stanza |
Types
Detailed Description
Typed IQ stanzas and the handling of incoming IQ requests.
Classes
class Context
class DefaultResponse
Selects the response payload of QXmpp::Iq::ResponseTraits when sending an IQ request. More...
class EncryptionSelection
class Received
class Reply
class ResponseTraits
Defines the payload of the response to the IQ request Request. More...
class SelectEncryption
class SendOptions
Options for sending an IQ request via QXmppClient::sendIq(). More...
class Stanza
An IQ stanza of type T with a typed payload. More...
Type Documentation
[alias] template <typename Payload = void> Error
IQ response of type error, optionally with the payload Payload of the request.
[alias] template <typename Payload> Get
IQ request of type get with the payload Payload.
[alias] template <typename Payload = void> Result
IQ response of type result with the payload Payload, by default without payload.
[alias] template <typename Payload> Set
IQ request of type set with the payload Payload.
[since QXmpp 1.18] enum class Iq::Type
Type of an IQ stanza.
| Constant | Value | Description |
|---|---|---|
QXmpp::Iq::Type::Get | 0 | Request for information. |
QXmpp::Iq::Type::Set | 1 | Request changing data. |
QXmpp::Iq::Type::Result | 2 | Successful response. |
QXmpp::Iq::Type::Error | 3 | Error response. |
This enum was introduced in QXmpp 1.18.