Changes for version 0.21

  • Supply missing “MockReader” module for demos.
  • Suppress warning when empty “code” and “reason” are both given to Net::WebSocket::Frame::close constructor.
  • Fix typo in BadHTTPStatus exception.
  • Require a current IO::Framed version.
  • Allow a “headers” argument to handshake header stringifier. This replaces the previously-suggested (hacky) substr().
  • Add a test for close frames.
  • POD fixes (thank you, MANWAR!)
  • Improve wscat.pl demo script.
  • Change tests to use Test::FailWarnings rather than Test::NoWarnings

Provides

in demo/lib/MockReader.pm
in demo/lib/NWDemo.pm
in lib/Net/WebSocket/Base/ControlFrame.pm
in lib/Net/WebSocket/Base/DataFrame.pm
in lib/Net/WebSocket/Base/ReadString.pm
in lib/Net/WebSocket/Base/Typed.pm
in lib/Net/WebSocket/Constants.pm
in lib/Net/WebSocket/Endpoint/Client.pm
in lib/Net/WebSocket/FrameTypeName.pm
in lib/Net/WebSocket/Mask.pm
in lib/Net/WebSocket/Masker/Client.pm
in lib/Net/WebSocket/Masker/Server.pm
in lib/Net/WebSocket/Message.pm
in lib/Net/WebSocket/PMCE/deflate/Constants.pm
in lib/Net/WebSocket/PMCE/deflate/Data.pm
in lib/Net/WebSocket/PMCE/deflate/Data/Client.pm
in lib/Net/WebSocket/PMCE/deflate/Data/Server.pm
in lib/Net/WebSocket/PingStore.pm
in lib/Net/WebSocket/Streamer/Client.pm
in lib/Net/WebSocket/X.pm
in lib/Net/WebSocket/X/BadAccept.pm
in lib/Net/WebSocket/X/BadArg.pm
in lib/Net/WebSocket/X/BadHTTPMethod.pm
in lib/Net/WebSocket/X/BadHTTPStatus.pm
in lib/Net/WebSocket/X/BadHeader.pm
in lib/Net/WebSocket/X/BadRequestProtocol.pm
in lib/Net/WebSocket/X/BadToken.pm
in lib/Net/WebSocket/X/Base.pm
in lib/Net/WebSocket/X/ControlPayloadTooLong.pm
in lib/Net/WebSocket/X/DuplicateHeader.pm
in lib/Net/WebSocket/X/EndpointAlreadyClosed.pm
in lib/Net/WebSocket/X/MissingHeaders.pm
in lib/Net/WebSocket/X/ReceivedBadControlFrame.pm
in lib/Net/WebSocket/X/ReceivedBadDataFrame.pm
in lib/Net/WebSocket/X/ReceivedClose.pm
in lib/Net/WebSocket/X/UnfinishedStream.pm
in lib/Net/WebSocket/X/UnknownExtension.pm
in lib/Net/WebSocket/X/UnknownSubprotocol.pm
in lib/Net/WebSocket/X/UnsupportedProtocolVersion.pm