Work-in-progress on dynamic IQ parsing

This commit is contained in:
Mickael Remond
2018-01-16 22:33:21 +01:00
parent 2e47f1659d
commit d33490cdc0
6 changed files with 144 additions and 39 deletions

View File

@@ -104,13 +104,13 @@ type auth struct {
Value string `xml:",innerxml"`
}
type bindBind struct {
type BindBind struct {
XMLName xml.Name `xml:"urn:ietf:params:xml:ns:xmpp-bind bind"`
Resource string `xml:"resource,omitempty"`
Jid string `xml:"jid,omitempty"`
}
func (*bindBind) IsIQPayload() {
func (*BindBind) IsIQPayload() {
}
// Session is obsolete in RFC 6121.