ping
and pong
to the set of events users can listen tohttp-parser-js
buffer.{read,write}UInt{16,32}BE
methods for reading/writing numbers
to buffers rather than including duplicate logic for thispong
method for sending unsolicited pong framesSec-WebSocket-Extensions
headerwebsocket-extensions
to make sure messages and close frames are kept in
ordererror
eventsCONNECT
close()
before start()
and close the driverprotocol
and version
are exposed properly by the TCP drivermaxLength
to cover sequences of continuation frames and
draft-{75,76}
maxLength
option to limit allowed frame sizeHTTPParser