module XMPP::Stanza

Defined in:

xmpp/stanza.cr
xmpp/stanza/component.cr
xmpp/stanza/error.cr
xmpp/stanza/forwarded.cr
xmpp/stanza/iot.cr
xmpp/stanza/iq.cr
xmpp/stanza/iq/disco.cr
xmpp/stanza/iq/disco_item.cr
xmpp/stanza/iq/ping.cr
xmpp/stanza/iq/roster.cr
xmpp/stanza/iq/version.cr
xmpp/stanza/message.cr
xmpp/stanza/message/chat_markers.cr
xmpp/stanza/message/chat_state.cr
xmpp/stanza/message/delay.cr
xmpp/stanza/message/hints.cr
xmpp/stanza/message/html.cr
xmpp/stanza/message/oob.cr
xmpp/stanza/message/receipts.cr
xmpp/stanza/node.cr
xmpp/stanza/packet.cr
xmpp/stanza/parser.cr
xmpp/stanza/pep.cr
xmpp/stanza/presence.cr
xmpp/stanza/presence/avatar.cr
xmpp/stanza/presence/delay.cr
xmpp/stanza/presence/muc.cr
xmpp/stanza/pubsub.cr
xmpp/stanza/registry.cr
xmpp/stanza/sasl_auth.cr
xmpp/stanza/starttls.cr
xmpp/stanza/stream.cr
xmpp/stanza/stream/cap.cr
xmpp/stanza/stream/error.cr
xmpp/stanza/stream/management.cr
xmpp/stanza/stream/management/answer.cr
xmpp/stanza/stream/management/enabled.cr
xmpp/stanza/stream/management/failed.cr
xmpp/stanza/stream/management/request.cr
xmpp/stanza/stream/management/resumed.cr
xmpp/stanza/stream/mechanism.cr
xmpp/stanza/stream/p1ack.cr
xmpp/stanza/stream/p1push.cr
xmpp/stanza/stream/p1rebind.cr
xmpp/stanza/stream/starttls.cr

Constant Summary

DATE_TIME_FORMAT = Time::Format.new("%Y-%m-%dT%H:%M:%SZ", Time::Location::UTC)
DELAY_DATE_TIME_FORMAT = Time::Format.new("%Y-%m-%dT%H:%M:%S.%sZ", Time::Location::UTC)
ERROR_AUTH = "auth"

RFC 6120: part of A.5 Client Namespace and A.6 Server Namespace

ERROR_CANCEL = "cancel"
ERROR_CONTINUE = "continue"
ERROR_MODIFY = "modify"
ERROR_WAIT = "wait"
IQ_TYPE_ERROR = "error"

RFC 6120: part of A.5 Client Namespace and A.6 Server Namespace

IQ_TYPE_GET = "get"
IQ_TYPE_RESULT = "result"
IQ_TYPE_SET = "set"
MESSAGE_TYPE_CHAT = "chat"
MESSAGE_TYPE_ERROR = "error"
MESSAGE_TYPE_GROUPCHAT = "groupchat"
MESSAGE_TYPE_HEADLINE = "headline"
MESSAGE_TYPE_NORMAL = "normal"
MSG_CHAT_MARKERS_NS = "urn:xmpp:chat-markers:0"
MSG_CHAT_STATE_NOTIFICATION_NS = "http://jabber.org/protocol/chatstates"
MSG_HINTS_NS = "urn:xmpp:hints"
MSG_RECEIPTS_NS = "urn:xmpp:receipts"
NS_BIND = "urn:ietf:params:xml:ns:xmpp-bind"
NS_CLIENT = "jabber:client"
NS_COMPONENT = "jabber:component:accept"
NS_DISCO_INFO = "http://jabber.org/protocol/disco#info"
NS_DISCO_ITEMS = "http://jabber.org/protocol/disco#items"
NS_SASL = "urn:ietf:params:xml:ns:xmpp-sasl"
NS_SESSION = "urn:ietf:params:xml:ns:xmpp-session"
NS_STREAM = "http://etherx.jabber.org/streams"

Namespace Constants

NS_STREAM_MANAGEMENT = "urn:xmpp:sm:3"
NS_TLS = "urn:ietf:params:xml:ns:xmpp-tls"
PRESENCE_SHOW_AWAY = "away"
PRESENCE_SHOW_CHAT = "chat"
PRESENCE_SHOW_DND = "dnd"
PRESENCE_SHOW_XA = "xa"
PRESENCE_TYPE_ERROR = "error"
PRESENCE_TYPE_PROBE = "probe"
PRESENCE_TYPE_SUBSCRIBE = "subscribe"
PRESENCE_TYPE_SUBSCRIBED = "subscribed"
PRESENCE_TYPE_UNAVAILABLE = "unavailable"
PRESENCE_TYPE_UNSUBSCRIBE = "unsubscribe"
PRESENCE_TYPE_UNSUBSCRIBED = "unsubscribed"
ROSTER_NS = "jabber:iq:roster"