Package restkit :: Module tee :: Class TeeInput
[hide private]

Class TeeInput

source code

object --+
         |
        TeeInput
Known Subclasses:

Instance Methods [hide private]
 
__init__(self, stream)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
__enter__(self) source code
 
__exit__(self, exc_type, exc_val, traceback) source code
 
seek(self, offset, whence=0)
naive implementation of seek
source code
 
flush(self) source code
 
read(self, length=-1)
read
source code
 
readline(self, size=-1) source code
 
readlines(self, sizehint=0) source code
 
close(self) source code
 
next(self) source code
 
__next__(self) source code
 
__iter__(self) source code
 
_tee(self, length)
fetch partial body
source code
 
_finalize(self)
here we wil fetch final trailers if any.
source code
 
_tmp_size(self) source code
 
_ensure_length(self, dest, length) source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables [hide private]
  CHUNK_SIZE = 16384
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, stream)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)