summaryrefslogtreecommitdiff
path: root/xmpp/router.go
AgeCommit message (Collapse)Author
2023-07-04Rework routing completelyxengineering
2023-07-04First working version of new RX conceptxengineering
This uses xml.Decoder.DecodeElement() which makes parsing way easier. This first step is just able to parse stream features partially.
2023-06-30Send initial presence after resource resultxengineering
This completes the connection process.
2023-06-30Add log-only handler for received IQ stanzasxengineering
This handler is just a placeholder for a more extensive IQ handling but already writes to the log so that it is obvious what is happening.
2023-06-30Implement basic handler for failed SASL authxengineering
Writing to the log is still better than doing nothing ...
2023-06-30Add SASL success handlerxengineering
2023-06-30Add session pointer to routing infrastructurexengineering
It is nearly useless to route a XML element to an appropriate handler function if the latter has no idea how to send responses to the server or the GUI. Passing a pointer to the session solves this issue.
2023-06-30Add dummy handler for stream features elementsxengineering
This is the first step to handle stream features correctly with the new routing infrastructure.
2023-06-30Add xmpp/router.goxengineering
This implements a routing function for XML elements received by an XML stream.