Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | n/a |
0 / 0 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
|||
| 1 | <?php |
| 2 | |
| 3 | declare(strict_types=1); |
| 4 | |
| 5 | namespace Cosray\Contract; |
| 6 | |
| 7 | use Celema\Core\Response; |
| 8 | |
| 9 | /** |
| 10 | * Handles POST requests to this node's public path. |
| 11 | * |
| 12 | * Cosray dispatches to it before its own handling of POST, so the node |
| 13 | * also owns content negotiation for this method. Read the request body |
| 14 | * through the autowired `Celema\Core\Request`. |
| 15 | */ |
| 16 | interface HttpPost |
| 17 | { |
| 18 | public function httpPost(): Response; |
| 19 | } |