Repository navigation
Replies: 8 comments
|
This is a very good point. I guess you need that both on the client and server side? |
0 replies
|
@majek I don't need it on the server. Any compliant node websocket client should already have it. |
0 replies
|
do any node websocket clients expose |
0 replies
|
They should. Websockets do. Not sure of any ws abstraction that exposes it. |
0 replies
|
@arlolra it's trivial to get access to it by reading |
0 replies
|
Is there an equivalent concept to |
0 replies
|
Not that I'm aware of. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
bufferedAmountexposes how much of the data is being buffered right now.If you want to implement some kind of backpressure mechanism with say high and low watermarks you would need to check
bufferedAmount> high mark and apply back pressure then emit some kind of"drain"event whenbufferedAmount< low mark.To do this sockJS needs to expose this information.
All reactions