-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Drafts
The websocket protocol evolved since 2009. The different specifications have different features which are incompatible with each other.
For every protocol version that affects the way bytes are transfered there is a corresponding class derived from Draft
. So the protocol versions implementaions will be referenced to as drafts from now onwards.
The WebSocketServer
detects any draft of a connecting client by default.
The WebSocketClient
on the other hand is the one who initiates the connection and therefore has to decide which draft to use.
Draft17
implements Hybi 17/RFC 6455 and is currently supported by Chrome16+ and IE10.
Since this protocol version made it into a RFC is is expected to last longer then some month.
Sooner or later most/all browsers will probably upgrade to support this draft...
Draft10
implements Hybi 10.
This draft is supported by and Chrome15 and Firefox6-9.
Draft75
and Draft76
implement Hixie 75 and Hixie 76.
You should no longer relay on these drafts since they are very deprecated and not supported by current browsers! Why chrome dropped websocket backwards compatibility.