Class | Jabber::Bytestreams::IqQueryBytestreams |
In: |
lib/xmpp4r/bytestreams/iq/bytestreams.rb
|
Parent: | IqQuery |
Class for accessing <query/> elements with xmlns=‘jabber.org/protocol/bytestreams’ in <iq/> stanzas.
Session-ID
# File lib/xmpp4r/bytestreams/iq/bytestreams.rb, line 28 28: def sid 29: attributes['sid'] 30: end
Set Session-ID
# File lib/xmpp4r/bytestreams/iq/bytestreams.rb, line 34 34: def sid=(s) 35: attributes['sid'] = s 36: end
Get the <streamhost-used/> child
result: | [StreamHostUsed] |
# File lib/xmpp4r/bytestreams/iq/bytestreams.rb, line 61 61: def streamhost_used 62: first_element('streamhost-used') 63: end