Documentation ¶
Overview ¶
Package s2s implements server-to-server functionality.
Index ¶
Constants ¶
View Source
const ( // NSBidi is the namespace used for negotiating bidirectional S2S connections. NSBidi = "urn:xmpp:bidi" // NSBidiFeature is the namespace used for advertising Bidi support. NSBidiFeature = "urn:xmpp:features:bidi" )
Namespaces used in this package, provided as a convenience.
Variables ¶
This section is empty.
Functions ¶
func Bidi ¶
func Bidi() xmpp.StreamFeature
Bidi returns a stream feature for indicating support for bidirectional server-to-server connections (ie. s2s connections over a single bidirectional TCP connection instead of over two unidirectional TCP connections).
The feature itself is just informational, servers using this feature will need to check if it was negotiated and handle their connections appropriately.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.