Part of twisted.web2.stream View Source View In Hierarchy
Known subclasses: twisted.web2.stream.IByteStream
Known implementations: twisted.web2.fileupload.MultipartMimeStream
|Method||read||Read some data.|
|Method||close||Prematurely close. Should also cause further reads to return None.|
Read some data.
Returns some object representing the data. If there is no more data available, returns None. Can also return a Deferred resulting in one of the above.Errors may be indicated by exception or by a Deferred of a Failure.