diff --git a/inbox/xep-iwe.xml b/inbox/xep-iwe.xml new file mode 100644 index 00000000..24609749 --- /dev/null +++ b/inbox/xep-iwe.xml @@ -0,0 +1,105 @@ + + +%ents; +]> + + +
+ Implicit XMPP WebSocket Endpoints + This document specifies implicit connection endpoints for XMPP over WebSocket (RFC 7395). + &LEGALNOTICE; + xxxx + ProtoXEP + Standards Track + Standards + Council + + XMPP Core + XEP-0001 + Etc. + + + + iwe + &flow; + + 0.0.1 + 2020-01-28 + fs +

First draft.

+
+
+ + + +

Unlike for XMPP connections via TCP as specified in &rfc6120;, + there exists no specificiation of implicit connection endpoints for + XMPP over WebSocket (&rfc7395;). As a result, XMPP services which + whish to provide WebSocket connectivity need to announce their + WebSocket endpoints, so that clients are able to discover them (RFC + 7395 § 4). This XEP fills this gap. It eventually enables, under + certain conditions, XMPP services to provide WebSocket connectivty, + without resorting to &xep0156; nor requiring manual configuration by + the user.

+ +
+ + + +

The following implicit XMPP WebSocket endpoints are specified:

+ + +

TODO: Use implicit endpoints only if no other endpoints were + discovered?

+ +
+ + + +

Implementations should note that due this XEP, the collection of + potential endpoints may contain duplicates. This is because the + implicit WebSocket connection endpoints defined herein may match the + ones that where discovered (RFC 7395 § 4, XEP-0156). Implementations + may want to ensure that no such duplicates exist.

+ +

Furthermore, implementations attempting to connect to the + discovered endpoints serially, as opposed to concurrently, may use + the implicit endpoints only as last resort.

+ +
+ + + +

Since the implicit WebSocket connection endpoints are defined to + include the XMPP service name, the verification required when using + the secured variant of the WebSocket transport provides the + necessary security.

+ +
+ + + +

This document requires no interaction with &IANA;.

+ +
+ + + +

This document requires no interaction with the XMPP registrar.

+ +
+ + + +

No XML schema specification is required, as this XEP does not + specify any XML data.

+ +
+ +