Methods

Class: cogen.web.async.ReadLine

Same a async.Read but doesn't work with chunked input (it would complicate things too much at the moment).

Methods

__init__ (self, conn, req, len=4096, **kws)

Initial req object holds the state of the operations involving reading the input and it requires to have these attributes:

read_chunked = <bool> content_length = <int> read_count = 0 state = async.Read.NEED_SIZE

These have to be initialized in the request.

run (self)

~ @debug(0)