class

XMPP::Stanza::UploadRequest

Inherits XMPP::Stanza::IQPayload / XMPP::Stanza::Extension / XMPP::Stanza::Packet / Reference / Object

UploadRequest implements the slot request of XEP-0363 - HTTP File Upload. It is sent as an IQ-get to an upload service, asking for a place to PUT a file of the given size and type.

Constructors

new(xml : String)
Source
new(node : XML::Node)
Source

Class methods

xml_name
Source

Instance methods

content_type
Source
content_type=(content_type : String)
Source
filename
Source
filename=(filename : String)
Source
name
Source
namespace
Source
size
Source
size=(size : UInt64)
Source
to_xml(xml : XML::Builder)
Source