| 1 | package BoardStreams; | ||
| 2 | 3 | ▶ | use v5.44; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 3 | |||
| 4 | 3 | our $VERSION = "v0.0.59"; | |
| 5 | |||
| 6 | # The version of the protocol spoken between server and client: the | ||
| 7 | # messages that travel over the WebSocket and what they mean. A server and | ||
| 8 | # a client work together when, and only when, this number is the same on | ||
| 9 | # both sides, whatever the versions of the libraries themselves. | ||
| 10 | # | ||
| 11 | # RULE: add one to it in every release that makes the protocol | ||
| 12 | # incompatible with earlier releases of either library, and make the same | ||
| 13 | # change to PROTOCOL_VERSION in the JavaScript client (src/index.ts). | ||
| 14 | # Leave it alone otherwise, including when the change is one that both | ||
| 15 | # older servers and older clients keep working with. | ||
| 16 | 3 | ▶ | use constant PROTOCOL_VERSION => 2; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 17 | |||
| 18 | 3 | 1; | |
| 19 | __END__ | ||