Commit graph

19 commits

Author SHA1 Message Date
genofire d9fdff0839 Add constants (enumlike) for stanza types and simplify packet creation (#62)
* Add constants (enumlike) for stanza types
* NewIQ, NewMessage and NewPresence are now initialized with the Attrs struct
* Update examples
* Do not export backoff code. For now, we do not need to expose backoff in the documentation
* Make presence priority an int8
2019-06-22 11:13:33 +02:00
genofire 923fd61587 compress iq checking in component 2019-06-20 15:10:41 +02:00
genofire 44681e8053 fix iq - get after refactoring routing on #55 2019-06-20 15:10:41 +02:00
Mickael Remond 1a7aa94bae
Update dependencies for examples 2019-06-19 14:33:14 +02:00
Mickael Remond 3f81465c6c Update examples 2019-06-19 14:03:42 +02:00
Mickael Remond 398ba224e7
Mention Namespace Delegation and Privileged Entity support 2019-06-18 15:16:19 +02:00
Mickael Remond ddff6527bd
Update examples dependencies 2019-06-18 14:39:58 +02:00
Mickael Remond 9219bf5aa9 Add namespace delegation and priviledged entity example 2019-06-18 14:36:56 +02:00
Mickael Remond 348f29e055 Update example client to use router 2019-06-18 14:36:56 +02:00
Mickael Remond 9b57809e9d Adapt examples to new routing library for components 2019-06-18 14:36:56 +02:00
Mickael Remond f0f0d5a285 Improve component README 2019-06-18 14:36:56 +02:00
Mickael Remond eb54ec9fb1
Update Fluux XMPP version for examples 2019-06-11 15:31:28 +02:00
Mickael Remond 08bb9965b8
Update component to advertise version feature and return it 2019-06-10 12:35:48 +02:00
Mickael Remond 36e3379f5a
Update examples dependencies 2019-06-09 13:18:54 +02:00
Mickael Remond bc2fad6693 Let component handle discovery for now 2019-06-09 13:08:25 +02:00
Mickael Remond 2d95ca9384 Simplify component writing and make it similar to client 2019-06-09 13:08:25 +02:00
Mickael Remond 736a60cd1b Use StreamClient interface in StreamManager 2019-06-09 13:08:25 +02:00
Mickael Remond 021f6d3740 Refactor ClientManager into a more generic StreamManager 2019-06-09 13:08:25 +02:00
Mickael Remond d4a8616da2
Move examples out of the cmd directory
They are now in _examples dir.
Fix #26
2019-06-08 11:34:09 +02:00