Okay/Spec: Difference between revisions
Created page with "<pre> OKAY Okay dares to ask the big questions. What if group chat was hypertext? What if discord let you write arbitrary HTML? What if protocols were bad? == In Summary == Okay is a group chat protocol. You join “Rooms” which contain “People” who “Talk” by sending and receiving “Messages” to and fro the “Server”. ❊ A room is just a special URI which you can POST messages to and GET them back at a later date. ❊ You can use WebSockets to get a..." |
No edit summary |
||
| Line 8: | Line 8: | ||
Okay is a group chat protocol. You join “Rooms” which contain “People” who “Talk” by sending and receiving “Messages” to and fro the “Server”. | Okay is a group chat protocol. You join “Rooms” which contain “People” who “Talk” by sending and receiving “Messages” to and fro the “Server”. | ||
❊ A room is just a special URI which you can POST messages to and GET them back at a later date. | ❊ A room is just a special URI which you can POST messages to and GET them back from at a later date. | ||
❊ You can use WebSockets to get a real-time feed of events that you’re interested in. | ❊ You can use WebSockets to get a real-time feed of events that you’re interested in. | ||
❊ Events are represented as HTML over the wire. This allows most client implementations skip the bit where they convert every message into HTML, while providing a stable format for non-web platforms to convert into their own inferior representations. This also lets you do really really stupid things with your messages. | ❊ Events are represented as HTML over the wire. This allows most client implementations skip the bit where they convert every message into HTML, while providing a stable format for non-web platforms to convert into their own inferior representations. This also lets you do really really stupid things with your messages. | ||