OpenQuizz
Une application de gestion des contenus pédagogiques
ResponseStream Class Reference
Inheritance diagram for ResponseStream:
Collaboration diagram for ResponseStream:

Public Member Functions

def __init__ (self, response)
 
def write (self, value)
 
def writelines (self, seq)
 
def close (self)
 
def flush (self)
 
def isatty (self)
 
def tell (self)
 
def encoding (self)
 

Data Fields

 response
 
 closed
 

Static Public Attributes

 mode
 

Detailed Description

A file descriptor like object used by the :class:`ResponseStreamMixin` to
represent the body of the stream.  It directly pushes into the response
iterable of the response object.

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  response 
)

Member Function Documentation

◆ close()

def close (   self)

◆ encoding()

def encoding (   self)

◆ flush()

def flush (   self)

◆ isatty()

def isatty (   self)

◆ tell()

def tell (   self)

◆ write()

def write (   self,
  value 
)

◆ writelines()

def writelines (   self,
  seq 
)

Field Documentation

◆ closed

closed

◆ mode

mode
static
A file descriptor like object used by the :class:`ResponseStreamMixin` to
represent the body of the stream.  It directly pushes into the response
iterable of the response object.

◆ response

response

The documentation for this class was generated from the following file: