[undertow-dev] supplying back pressure when reading from web sockets

peter royal peter.royal at pobox.com
Fri May 12 09:46:55 EDT 2017


i'm extending io.undertow.websockets.core.AbstractReceiveListener to
process incoming websocket messages

if i wanted to implement back pressure to senders, is it sufficient to
toggle WebSocketChannel#suspendReceives and
WebSocketChannel#resumeReceives ?

-pete

-- 
(peter.royal|osi)@pobox.com - http://fotap.org/~osi


More information about the undertow-dev mailing list