Package version queries a remote entity for software version info.
const ( // NS is the XML namespace used by software version queries. // It is provided as a convenience. NS = "jabber:iq:version" )
Query is the payload of a software version query or response.
Get requests the software version of the provided entity. It blocks until a response is received.
GetIQ is like Get but it allows you to customize the IQ. Changing the type of the provided IQ has no effect.
func (Query) TokenReader ¶
TokenReader implements xmlstream.Marshaler.