Processes the response from the request handler and returns a web.Response. This method should be implemented by subclasses to handle specific response formats.
(self, response: Any)
| 436 | |
| 437 | @abstractmethod |
| 438 | def _process_response(self, response: Any) -> web.Response: |
| 439 | """ |
| 440 | Processes the response from the request handler and returns a web.Response. |
| 441 | This method should be implemented by subclasses to handle specific response formats. |
| 442 | """ |
| 443 | pass |
| 444 | |
| 445 | def _create_request_processor(self): |
| 446 | async def inner(payload_encoded: str) -> web.Response: |