Logo
Explore Help
Sign In
faye/websocket-driver-node
Watch 1
Star 0
Fork 0
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
209 Commits 5 Branches 28 Tags
stream-parser
Commit Graph
8 Commits
Author SHA1 Message Date
James Coglan 7953bc39ff Implement masking as a transform stream. 2014-05-11 22:07:34 +01:00
James Coglan bf39b7b44b Optimise some special cases in StreamReader; return a new Buffer from read() immediately if there's enough buffered data, and if the read can be fulfilled entirely from the first queued buffer than take a slice rather than copying into a new buffer. 2014-05-11 13:33:51 +01:00
James Coglan 85ba40ac32 Convert StreamReader so that it emits streams rather than waiting for an entire payload. 2014-05-09 15:35:40 +01:00
James Coglan e6edb23681 Rather than a sync read() method in a loop, use an async read() method with a callback. 2014-05-08 16:35:21 +01:00
James Coglan ed3907d5fd Clean up the state management code in StreamReader. 2014-05-07 20:49:49 +01:00
David Glasser 8d19ee823e StreamReader: Don't hang on to fully read buffers 2014-05-06 11:52:59 -07:00
James Coglan d93c853414 Don't pre-allocate a huge Buffer before we know there's enough chunks in the read queue to complete a message. 2013-12-02 21:07:33 +00:00
James Coglan 25c075a408 Rename the module to websocket-driver. 2013-05-04 16:42:44 +01:00
Powered by Gitea Version: 1.27.3 Page: 35ms Template: 7ms
Auto
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API