Skip to content

octoprint.vendor.sockjs.tornado.transports.streamingbase#

StreamingTransportBase #

Bases: pollingbase.PollingTransportBase

notify_sent(data_len) #

Update amount of data sent

send_complete(f = None) #

Verify if connection should be closed based on amount of data that was sent.

should_finish() #

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

data_len Amount of data that was sent