CORNIERE Rémi
5eff2d7623
Added callback to process errors after connection.
...
Added tests and refactored a bit.
2019-12-06 15:42:01 +01:00
remicorniere
1822089db6
Tests for Component and code style fixes ( #129 )
...
* Tests for Component and code style fixes
2019-11-28 17:15:15 +01:00
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()
2019-10-28 16:38:10 +01:00
Mickael Remond
9c8353d081
Introduce Credential structure to define auth type
...
For now we are planning to support Password and OAuthToken.
In the future, we would like to add certificate-based authentication.
2019-10-01 11:40:31 +02:00
Mickael Remond
5992cc2231
Fix XMPP logger consistency
...
- Rename socketProxy to StreamLogger
- Ensure client send traffic through the logger
2019-06-29 10:47:07 +02:00
Mickael Remond
428787d7ab
Refactor and move parsing and stanza to a separate package
2019-06-26 17:14:52 +02:00
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
Mickael Remond
3f81465c6c
Update examples
2019-06-19 14:03:42 +02:00
Mickael Remond
9b57809e9d
Adapt examples to new routing library for components
2019-06-18 14:36:56 +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