1: | <?php declare(strict_types=1); |
2: | |
3: | namespace Salient\Contract\Http; |
4: | |
5: | use Psr\Http\Message\RequestInterface; |
6: | |
7: | /** |
8: | * @api |
9: | */ |
10: | interface HttpRequestInterface extends HttpMessageInterface, RequestInterface |
11: | { |
12: | /** |
13: | * @return array{method:string,url:string,httpVersion:string,cookies:array<array{name:string,value:string,path?:string,domain?:string,expires?:string,httpOnly?:bool,secure?:bool}>,headers:array<array{name:string,value:string}>,queryString:array<array{name:string,value:string}>,postData?:array{mimeType:string,params:array{},text:string},headersSize:int,bodySize:int} |
14: | */ |
15: | public function jsonSerialize(): array; |
16: | } |
17: |