twisted.web.iweb._IRequestEncoder(Interface) interface documentationtwisted.web.iweb
View Source
(View In Hierarchy)
Known implementations: twisted.web.server._GzipEncoder
An object encoding data passed to IRequest.write,
for example for compression purpose.
| Present Since | 12.3 | |
| Method | encode | Encode the data given and return the result. |
| Method | finish | Callback called when the request is closing. |