v0.2.2
CHANGES
- feat(connection): added
drainevent supports. - feat(connection): added
maxMessageSizereadonly property on connections. - feat(connection): now
createMessageWritermethod returns aWritablestream. - feat(connection): all
writemethod supportscallbackparameter for draining. - feat(connection): refactored the writing logic.
- fix(connection): close the connection correctly on received CLOSE opcode.
- fix(encoding): simplified the code of encoder.
- fix(encoding): failed to decode an empty FIN frame under SIMPLE mode.
- fix(encoding): failed to decode an empty FIN frame under STANDARD mode.
- fix(encoding): a message will be consume multiple times under STANDARD mode.
Full Changelog: v0.2.1...v0.2.2