BoardStreams.pm

filter: Statementstmt 100% 7 / 7 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 2 / 2 Podpod n/a totaltotal 100% 9 / 9 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« BoardStreams/Client/Error.pm ↑ Summary BoardStreams/Rejection.pm »
1 package BoardStreams;
2 3 ▶use v5.44;
Subroutine BEGIN: called CC=1 SCAR=0.0
3  
4 3 our $VERSION = "v0.0.60";
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__
« BoardStreams/Client/Error.pm ↑ Summary BoardStreams/Rejection.pm »