trio-websocket icon indicating copy to clipboard operation
trio-websocket copied to clipboard

API for partial messages

Open mehaase opened this issue 7 years ago • 1 comments

Right now the WebSocketConnection will buffer partial messages until the entire message is received. There should be some option (probably in the constructor) to allow receiving partial messages instead.

mehaase avatar Oct 11 '18 15:10 mehaase

There should probably also be a mechanism to cap the amount of data that trio-websocket will buffer internally, probably enabled by default with some reasonably limit and a configuration knob to adjust it.

njsmith avatar Oct 11 '18 23:10 njsmith