Go to the latest version of this document.
search in docstrings

Search bar offers the following options:

- Term presence. The below example searches for documents that must contain “foo”, might contain “bar” and must not contain “baz”: `+foo bar -baz`
- Wildcards. The below example searches for documents with words beginning with “foo”: `foo*`
- Search in specific fields. The following search matches all objects in "twisted.mail" that matches “search”: `+qname:twisted.mail.* +search`

  Possible fields: 'name', 'qname' (fully qualified name), 'docstring', and 'kind'. Last two fields are only applicable if "search in docstrings" is enabled.

- Fuzzy matches. The following search matches all documents that have a word within 1 edit distance of “foo”: `foo~1`

Results provided by Lunr.js

# ``twisted`.`web`.`http`.`_NoPushProducer``

class documentation

`class _NoPushProducer: (source)`

Implements interfaces: `twisted.internet.interfaces.IPushProducer`

View In Hierarchy

A no-op version of `interfaces.IPushProducer`, used to abstract over the possibility that a `HTTPChannel` transport does not provide `IPushProducer`.

Method | `pauseProducing` | Pause producing data.
Method | `registerProducer` | Register to receive data from a producer.
Method | `resumeProducing` | Resume producing data.
Method | `stopProducing` | IProducer.stopProducing
Method | `unregisterProducer` | Stop consuming data from a producer, without disconnecting.

def pauseProducing(self): (source)
from `twisted.internet.interfaces.IPushProducer`

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.

def registerProducer(self, producer, streaming): (source)

Register to receive data from a producer.

Parameters
producer | The producer to register.
streaming | Whether this is a streaming producer or not.

def resumeProducing(self): (source)
from `twisted.internet.interfaces.IPushProducer`

Resume producing data.

This tells a producer to re-add itself to the main loop and produce more data for its consumer.

def stopProducing(self): (source)
from `twisted.internet.interfaces.IProducer`

IProducer.stopProducing

def unregisterProducer(self): (source)

Stop consuming data from a producer, without disconnecting.