Home | Trees | Indices | Help |
|
---|
|
object --+ | CPWSGIApp
A WSGI application object for a CherryPy Application.
|
|||
response_class The class to instantiate and return as the next app in the WSGI chain. |
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from |
|
|||
pipeline =
A list of (name, wsgiapp) pairs. |
|||
head = None Rather than nest all apps in the pipeline on each call, it's only done the first time, and the result is memoized into self.head. |
|||
config =
A dict whose keys match names listed in the pipeline. |
|
|||
Inherited from |
|
x.__init__(...) initializes x; see help(type(x)) for signature
|
WSGI application callable for the actual CherryPy application. You probably shouldn't call this; call self.__call__ instead, so that any WSGI middleware in self.pipeline can run first. |
|
pipelineA list of (name, wsgiapp) pairs. Each 'wsgiapp' MUST be a constructor that takes an initial, positional 'nextapp' argument, plus optional keyword arguments, and returns a WSGI application (that takes environ and start_response arguments). The 'name' can be any you choose, and will correspond to keys in self.config.
|
headRather than nest all apps in the pipeline on each call, it's only done the first time, and the result is memoized into self.head. Set this to None again if you change self.pipeline after calling self.
|
configA dict whose keys match names listed in the pipeline. Each value is a further dict which will be passed to the corresponding named WSGI callable (from the pipeline) as keyword arguments.
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Mon Dec 1 16:24:00 2014 | http://epydoc.sourceforge.net |