~samwhited/xmpp

xmpp/bind_test.go -rw-r--r-- 4.3 KiB
xmpp: manually set namespace on bind

If we use a binding like the WebSocket binding there is no default
namespace anymore, so make sure we always set the namespace on the bind
IQs.

Signed-off-by: Sam Whited <sam@samwhited.com>
xmpp: use new internal feature testing code

Signed-off-by: Sam Whited <sam@samwhited.com>
xmpp: add more resource binding tests

Use the new(ish) stream feature test helper to test the BindCustom
feature.

Signed-off-by: Sam Whited <sam@samwhited.com>
all: bump to new xmlstream and fix flushing
all: update copyright message

[ci skip]
all: rewrap copyright comments/use xml.TokenReader
xmpp: support server side of resource binding

Also make test output for bind tests easier to read.

Fixes #14
internal/ns: move ns package to internal/ns
Change stream features list API to use xml encoder

Fixes #11
Initial resource List/Parse implementation

Negotiation is not yet implemented
Add initial resource binding feature w/ tests
Next