Wichert Akkerman
f41177775a
Make keepalive interval configurable
...
This fixes #133
5 years ago
Mickael Remond
1d7db9ceee
Comments clean-up
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
Wichert Akkerman
96fccbd399
Split out TransportConfiguration
...
This allows using the same transport configuration from both clients and components.
5 years ago
Wichert Akkerman
a3c62e515e
Introduce Transport interface
5 years ago
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.
5 years ago
Mickael Remond
d36428fb2f
Avoid copying tls.Config lock
...
Fixes #90
5 years ago
Mickael Remond
9577036327
Add support for self-signed certificates
5 years ago
Mickael Remond
5992cc2231
Fix XMPP logger consistency
...
- Rename socketProxy to StreamLogger
- Ensure client send traffic through the logger
5 years ago
Mickael Remond
4d015e5b29
With go modules, we should be able to remove import comments
5 years ago
Mickael Remond
736a60cd1b
Use StreamClient interface in StreamManager
5 years ago
Mickaël Rémond
2f391fde80
Add Client Manager to monitor connection state and trigger reconnect ( #39 )
...
- Support for exponential backoff on reconnect to be gentle on the server.
- Clean up client by moving metrics and retry strategy to the connection manager.
- Update echo_client to use client manager
- Fix echo client XMPP message matching
Fixes #21
Improvements for #8
5 years ago
Mickael Remond
e54260ec68
Clarify use of insecure flag
5 years ago
Mickael Remond
996feb1a40
Better documentation for config
5 years ago
Mickaël Rémond
b030e8dd4b
Merge pull request #13 from hypafrag/xml_charset_reader_support
...
added charsets support
6 years ago
Mickael Remond
5eae7f4ef7
Move project to gosrc.io/xmpp
...
The URL will be more permanent as this is a place we dedicate as short URL for our go projects.
6 years ago
hypafrag
3a51dce786
added charsets support
6 years ago
Mickael Remond
f70e2ca9a7
Rename options -> config
6 years ago