Skip to content

Latest commit

 

History

History
24 lines (14 loc) · 817 Bytes

wish.md

File metadata and controls

24 lines (14 loc) · 817 Bytes

WiSH: WebSocket over HTTP

##Core Spec (v0.2)

WiSH essentially layers a WS compatible framing over HTTP (semantics only). WiSH stands for Web in Strict HTTP.

WiSH follows the basic [WebSocket framing] 1 as following:

  1. opcode (8 octet)
  2. length (1-9 octet)
  3. payload

##Notes

WiSH always uses HTTP/* as the underlying "multiplexed byte-stream transport" and therefore, many WS-specific framing details such as masking, handshake/status and fragmentation are not needed.

Compression, extensions are not needed now.

Relevance of WS status code is TBD.

A high-level protocol such as [WebChannel] 2 may use WiSH as the framing protocol to support bi-directional communication over HTTP and for Web and Internet clients.