Skip to content

WebSocket Binding #453

@benfrancis

Description

@benfrancis

Would it make sense for there to be a WebSocket Binding document?

The WebSocket protocol is a bit unusual in that whilst it has its own URI scheme and defines things like an opening handshake and data framing, it relies on the definition of sub-protocols for any useful communication.

The current draft of the Bindings Registry document says that in a binding document "There MUST be at least one operation mapped to a protocol message/vocabulary term."

Because WebSockets lack any semantics of their own it is difficult to imagine what vocabulary terms would be useful. As far as I can tell the only useful metadata you can provide for a WebSocket endpoint in Form in a TD is the subprotocol member, which is already a first class member of a Forms. It therefore seems impossible to satisfy this requirement without defining a sub-protocol to provide the mappings.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions