diff options
Diffstat (limited to 'Swiften/Client/CoreClient.h')
-rw-r--r-- | Swiften/Client/CoreClient.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Swiften/Client/CoreClient.h b/Swiften/Client/CoreClient.h index 92cd197..ee73396 100644 --- a/Swiften/Client/CoreClient.h +++ b/Swiften/Client/CoreClient.h @@ -143,6 +143,11 @@ namespace Swift { */ void setCertificateTrustChecker(CertificateTrustChecker*); + /** + * Sets whether ZLib stream compression should be used when available. + */ + void setUseStreamCompression(bool b); + public: /** * Emitted when the client was disconnected from the network. @@ -207,6 +212,7 @@ namespace Swift { JID jid_; std::string password_; NetworkFactories* networkFactories; + bool useStreamCompression; ClientSessionStanzaChannel* stanzaChannel_; IQRouter* iqRouter_; Connector::ref connector_; |