Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the difference of chat and superchat subprotocol in WebSocket

Tags:

websocket

I can't find anything about the subprotocol used with WebSockets. What is the difference between "chat" and "superchat" subprotocol mentioned in the rfc6455 and where can I find the RFC for "chat" and "superchat" or are they just placeholders?

like image 380
Thomas Avatar asked Mar 05 '23 18:03

Thomas


1 Answers

Both protocols don't exist, so there's no actual difference between them.

These "protocols" were just example name for possible Sec-WebSocket-Protocol header values.

It's pretty much the same as using foo and bar as example names, except they chose chat and superchat as example names.

like image 160
Myst Avatar answered May 05 '23 14:05

Myst