interface documentation

class twisted.web.resource._IEncodingResource(Interface): (source)

Known implementations: twisted.web.resource.EncodingResourceWrapper

View In Hierarchy

A resource which knows about _IRequestEncoderFactory.

Present Since12.3
Method getEncoder Parse the request and return an encoder if applicable, using _IRequestEncoderFactory.encoderForRequest.
def getEncoder(request): (source)

Parse the request and return an encoder if applicable, using _IRequestEncoderFactory.encoderForRequest.

ReturnsA _IRequestEncoder, or None.
API Documentation for Twisted, generated by pydoctor 20.12.1 at 2021-02-28 19:53:36.