Doc'd that middleware hooks may also be used with function-based middleware

This commit is contained in:
David Sanders 2025-09-13 19:12:23 +10:00
parent e183d6c26c
commit ea35f382f3

View file

@ -154,7 +154,8 @@ Other middleware hooks
======================
Besides the basic request/response middleware pattern described earlier, you
can add three other special methods to class-based middleware:
can add three other special methods to class-based middleware as methods or
function-based middleware as attributes of the middleware function:
.. _view-middleware: