You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Howdy! Glad to see someone is working on a Swift NIO XMPP implementation.
Instead of writing your own XML parser and generator from scratch, it might be nice to leverage Codable with a helper library. There is already a Linux-compatible XML Codable library called XMLCoder that might be a great fit for this project, or possibly an inspiration for your own Codable support.
Cheers!
The text was updated successfully, but these errors were encountered:
I am back working on this project. If I am not mistaken, Codable would be nice to be able to serialize the content. However, for parsing, in the context of an infinite stream, Codable is not easy to put in place and even a bit hackish, I think, for decoding.
Howdy! Glad to see someone is working on a Swift NIO XMPP implementation.
Instead of writing your own XML parser and generator from scratch, it might be nice to leverage
Codable
with a helper library. There is already a Linux-compatible XMLCodable
library called XMLCoder that might be a great fit for this project, or possibly an inspiration for your own Codable support.Cheers!
The text was updated successfully, but these errors were encountered: