rcorniere
7850d07d37
Renamed Hooks
5 years ago
rcorniere
e59a86c380
Refactor tests
5 years ago
rcorniere
2083cbf29c
Various fixes
5 years ago
rcorniere
8798ff6fc1
- Changed IQ stanzas to pointer semantics
...
- Fixed commands from v 0.4.0 and tests
- Added primitive Result Sets support (XEP-0059)
5 years ago
Jerome Sautret
6e2ba9ca57
Remove context leak warnings
5 years ago
remicorniere
94aceac802
Changed "Disconnect" to wait for the closing stream tag. ( #141 )
...
Updated example with a README.md and fixed some logs.
5 years ago
rcorniere
3c9b0db5b8
Fixed decoder usage.
...
Decoders have internal buffering, and creating many on a single TCP connection can cause issues in parsing exchanged XML documents.
5 years ago
rcorniere
fd48f52f3d
Using precisely sized buffers for tcp tests
5 years ago
CORNIERE Rémi
e675e65a59
Added callback to process errors after connection.
...
Added tests and refactored a bit.
5 years ago
Wichert Akkerman
f8c992a385
Fix updating of EventManager.CurrentState
...
The EventManager methods did not use a pointer as receiver, which
caused updated of CurrentState to be lost.
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
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
cca0919b8a
Fix session element parsing on IQ
5 years ago
Mickael Remond
40e907e8ee
Clean-up & refactor
5 years ago
Mickael Remond
428787d7ab
Refactor and move parsing and stanza to a separate package
5 years ago
Mickael Remond
af0ae525b8
An IQ can only have a single payload
...
"An IQ stanza of type "get" or "set" MUST contain exactly one
child element, which specifies the semantics of the particular
request."
5 years ago
Mickael Remond
4d015e5b29
With go modules, we should be able to remove import comments
5 years ago
Mickael Remond
715bf6976f
Fix client tests
5 years ago
Mickael Remond
709a95129e
Clean up and fix StartTLS feature discovery
...
Required field was never set to true
5 years ago
Mickael Remond
021f6d3740
Refactor ClientManager into a more generic StreamManager
5 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
Mickael Remond
fa5590e921
Rename Options to Config
6 years ago
Mickael Remond
d33490cdc0
Work-in-progress on dynamic IQ parsing
7 years ago
Mickael Remond
dade3504f0
Improve generic IQ parsing
7 years ago
Mickael Remond
10219ec1e6
Refactor parsing / improve typing
7 years ago
Mickael Remond
710174b165
Moving XMPP library to Fluux project
7 years ago