| 1: | <?php declare(strict_types=1); |
| 2: | |
| 3: | namespace Salient\Contract\Curler\Event; |
| 4: | |
| 5: | use Psr\Http\Message\RequestInterface as PsrRequestInterface; |
| 6: | |
| 7: | /** |
| 8: | * Dispatched before a cURL request is executed |
| 9: | * |
| 10: | * @api |
| 11: | */ |
| 12: | interface CurlRequestEvent extends CurlEvent |
| 13: | { |
| 14: | /** |
| 15: | * Get the request being sent to the endpoint |
| 16: | */ |
| 17: | public function getRequest(): PsrRequestInterface; |
| 18: | } |
| 19: |