Commit Graph

15 Commits (1822089db65677c9b7cc418bae66b5b5afcee31d)

Author SHA1 Message Date
remicorniere 1822089db6 Tests for Component and code style fixes (#129)
* Tests for Component and code style fixes
5 years ago
Wichert Akkerman 92329b48e6 Transports need to handle open/close stanzas
XMPP and WebSocket transports require different open and close stanzas. To
handle this the responsibility handling those and creating the XML decoder is
moved to the Transport.
5 years ago
Wichert Akkerman 7fa4b06705 Move address into transport config
This makes it possible to use a factory function to create a transport of the right type and not having to repeat the address when calling Transport.Connect()
5 years ago
Mickael Remond 176dcdce33 Simplify disco and software version
Make use of helpers.
5 years ago
Mickael Remond 5db9a80605
Move example to new data structure 5 years ago
Mickael Remond 428787d7ab
Refactor and move parsing and stanza to a separate package 5 years ago
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
5 years ago
genofire 923fd61587 compress iq checking in component 5 years ago
genofire 44681e8053 fix iq - get after refactoring routing on #55 5 years ago
Mickael Remond 3f81465c6c Update examples 5 years ago
Mickael Remond 9b57809e9d Adapt examples to new routing library for components 5 years ago
Mickael Remond 08bb9965b8
Update component to advertise version feature and return it 5 years ago
Mickael Remond bc2fad6693 Let component handle discovery for now 5 years ago
Mickael Remond 2d95ca9384 Simplify component writing and make it similar to client 5 years ago
Mickael Remond d4a8616da2
Move examples out of the cmd directory
They are now in _examples dir.
Fix #26
5 years ago