werkzeug.LimitedStream.on_disconnect

LimitedStream.on_disconnect()[source]

What should happen if a disconnect is detected? The return value of this function is returned from read functions in case the client went away. By default a ClientDisconnected exception is raised.