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