mohamedsaeed27 / xmpphp

Automatically exported from code.google.com/p/xmpphp
0 stars 0 forks source link

Optional encryption, some return values #13

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
This patch is based on version r21.

* XMPP::use_encryption is now declared in the class as it should be when
using class members.
* The XMPP constructor takes another optional argument to set the use of
encryption. (Default: true, as hard-coded before)
* XMLStream::connect returns true on success and false on failure. (More
return values or exceptions are appreciated but not included in this patch.)

Original issue reported on code.google.com by yves.goe...@gmail.com on 21 Apr 2008 at 6:13

Attachments:

GoogleCodeExporter commented 8 years ago
Thanks Yves.  Using exceptions instead.

Original comment by nathanfr...@gmail.com on 26 Nov 2008 at 10:05