module XMPP::Stanza

Defined in:

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"