sockjs.tornado.transports.streamingbase

class sockjs.tornado.transports.streamingbase.StreamingTransportBase(application, request, **kwargs)[source]
should_finish()[source]

Check if transport should close long running connection after sending X bytes to the client.

data_len
Amount of data that was sent
session_closed()

Called by the session when it was closed