s2s

package
v0.21.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 7, 2022 License: BSD-2-Clause Imports: 5 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL