summaryrefslogtreecommitdiff
path: root/vendor/CherryPy-3.2.0/sphinx/source/progguide/extending/index.rst
blob: dd5fac54990bdaaaf223c8260d1b43decf6153ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
******************
Extending CherryPy
******************

If you need to perform some work that doesn't fit in a page handler, there are
two ways to do it depending on the scope of the task. If your code needs to run
on each request, or for only some URL's in your application, use a Tool. If your
code needs to run elsewhere, such as process start/stop/restart/exit, or thread
start/stop, use an Engine Plugin.

.. toctree::
   
   customtools
   customplugins