~samwhited/xmpp

ref: 52be89df867be9fc4e8ba83b0c3880887a6485ba xmpp/stream.go -rw-r--r-- 5.3 KiB
Add partial Send() function
Add a TODO for later
Session should not close the underlying Conn
Fix stream send/receive functions
More session cleanup
Add Session API and remove Conn
Clarify session state docs
Don't return a set of features, just allow lookup
Lookup stream features by namespace, not xmlname
Fix tests that broke due to XML header changes
Write the XML header and stream:stream in one go
Greedily negotiate optional features

Fixes #12
Allow features to upgrade the underlying RWC

Fixes #9
Separate state bits for input/output stream closed
Merge Bind and Ready states
Save the features list on Conn
If a resource is bound, the stream is ready
Handle stream errors during negotiation
ns: Move namespaces to own package

This lets us prevent import loops (eg. if we want to access namespace
constants from a sibling tree under xmpp/)
Next