class XMPP::Stanza::UploadRequest

Overview

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.

Included Modules

Defined in:

xmpp/stanza/iq/http_upload.cr

Constructors

Class Method Summary

Instance Method Summary

Instance methods inherited from module XMPP::Stanza::IQPayload

namespace : String namespace

Instance methods inherited from module XMPP::Stanza::Packet

name : String name, to_xml(xml : XML::Builder)
to_xml : String
to_xml

Constructor Detail

def self.new(xml : String) #

[View source]
def self.new(node : XML::Node) #

[View source]

Class Method Detail

def self.xml_name : XMLName #

[View source]

Instance Method Detail

def content_type : String #

[View source]
def content_type=(content_type : String) #

[View source]
def filename : String #

[View source]
def filename=(filename : String) #

[View source]
def name : String #

[View source]
def namespace : String #

[View source]
def size : UInt64 #

[View source]
def size=(size : UInt64) #

[View source]
def to_xml(xml : XML::Builder) #

[View source]