class documentation
class _NoPushProducer: (source)
Implements interfaces: twisted.internet.interfaces.IPushProducer
A no-op version of interfaces.IPushProducer, used to abstract over the possibility that a HTTPChannel transport does not provide IPushProducer.
| Method | pause |
Pause producing data. |
| Method | register |
Register to receive data from a producer. |
| Method | resume |
Resume producing data. |
| Method | stop |
IProducer.stopProducing |
| Method | unregister |
Stop consuming data from a producer, without disconnecting. |
Pause producing data.
Tells a producer that it has produced too much data to process for the time being, and to stop until resumeProducing() is called.
Register to receive data from a producer.
| Parameters | |
| producer | The producer to register. |
| streaming | Whether this is a streaming producer or not. |
Resume producing data.
This tells a producer to re-add itself to the main loop and produce more data for its consumer.