class XMPP::Stanza::PubSubEvent

Overview

PubSubEvent is the message payload defined by XEP-0163 - Personal Eventing Protocol. When a user publishes an item on one of their PEP nodes, the server delivers a notification to each subscriber:

...

It reuses the PubSub Item/Items data models for the notification payload. See: https://xmpp.org/extensions/xep-0163.html

Defined in:

xmpp/stanza/pep_event.cr

Constructors

Class Method Summary

Instance Method Summary

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(node : XML::Node) #

[View source]

Class Method Detail

def self.xml_name : XMLName #

[View source]

Instance Method Detail

def items : Items | Nil #

[View source]
def items=(items : Items | Nil) #

[View source]
def name : String #

[View source]
def retract : Retract | Nil #

[View source]
def retract=(retract : Retract | Nil) #

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

[View source]