The QXmppStreamFeatures class represents the features returned by an XMPP server or client.
More...
#include <QXmppStreamFeatures.h>
|
enum | Mode { Disabled = 0
, Enabled
, Required
} |
| Mode of a feature.
|
|
The QXmppStreamFeatures class represents the features returned by an XMPP server or client.
◆ authMechanisms()
QStringList QXmppStreamFeatures::authMechanisms |
( |
| ) |
const |
Returns the available authentication mechanisms
◆ bindMode()
Returns the resource binding mode
◆ clientStateIndicationMode()
◆ compressionMethods()
QStringList QXmppStreamFeatures::compressionMethods |
( |
| ) |
const |
Returns the available compression methods
◆ nonSaslAuthMode()
Returns Non-SASL Authentication mode
◆ preApprovedSubscriptionsSupported()
bool QXmppStreamFeatures::preApprovedSubscriptionsSupported |
( |
| ) |
const |
Returns whether usage of Pre-Approved roster subscriptions is supported.
- Since
- QXmpp 1.3
◆ registerMode()
◆ rosterVersioningSupported()
bool QXmppStreamFeatures::rosterVersioningSupported |
( |
| ) |
const |
Returns whether roster versioning from RFC6121 is supported.
- Since
- QXmpp 1.3
◆ sasl2Feature()
const std::optional< Sasl2::StreamFeature > & QXmppStreamFeatures::sasl2Feature |
( |
| ) |
const |
◆ sessionMode()
◆ setAuthMechanisms()
void QXmppStreamFeatures::setAuthMechanisms |
( |
const QStringList & |
mechanisms | ) |
|
Sets the available authentication mechanisms
◆ setBindMode()
Sets the resource binding mode
◆ setClientStateIndicationMode()
◆ setCompressionMethods()
void QXmppStreamFeatures::setCompressionMethods |
( |
const QStringList & |
methods | ) |
|
Sets the available compression methods
◆ setNonSaslAuthMode()
Sets Non-SASL Authentication mode
◆ setPreApprovedSubscriptionsSupported()
void QXmppStreamFeatures::setPreApprovedSubscriptionsSupported |
( |
bool |
supported | ) |
|
Sets whether usage of Pre-Approved roster subscriptions is supported.
- Since
- QXmpp 1.3
◆ setRegisterMode()
void QXmppStreamFeatures::setRegisterMode |
( |
const Mode & |
mode | ) |
|
◆ setRosterVersioningSupported()
void QXmppStreamFeatures::setRosterVersioningSupported |
( |
bool |
supported | ) |
|
Sets whether roster versioning from RFC6121 is supported.
- Since
- QXmpp 1.3
◆ setSasl2Feature()
void QXmppStreamFeatures::setSasl2Feature |
( |
const std::optional< QXmpp::Private::Sasl2::StreamFeature > & |
| ) |
|
◆ setSessionMode()
void QXmppStreamFeatures::setSessionMode |
( |
Mode |
mode | ) |
|
◆ setStreamManagementMode()
◆ setTlsMode()
Sets the mode for STARTTLS
◆ streamManagementMode()
◆ tlsMode()
Returns the mode for STARTTLS
The documentation for this class was generated from the following files: