Part of twisted.web2.stream View Source View In Hierarchy
|Method||readExactly||Read exactly size bytes of data, or, if size is None, read the entire stream into a string.|
|Method||readline||Read a line of data from the string, bounded by delimiter. The delimiter is included in the return value.|
|Method||pushback||Push data back into the buffer.|
|Method||_readUntil||Internal helper function which repeatedly calls f each time after more data has been received, until it returns non-None.|
Read a line of data from the string, bounded by delimiter. The delimiter is included in the return value.If size is specified, read and return at most that many bytes, even if the delimiter has not yet been reached. If the size limit falls within a delimiter, the rest of the delimiter, and the next line will be returned together.