1: | <?php declare(strict_types=1); |
2: | |
3: | namespace Salient\Contract\Http\Message; |
4: | |
5: | use Psr\Http\Message\RequestInterface as PsrRequestInterface; |
6: | use Salient\Contract\Http\HasRequestMethod; |
7: | |
8: | /** |
9: | * @api |
10: | * |
11: | * @template TPsr7 of PsrRequestInterface = PsrRequestInterface |
12: | * |
13: | * @extends MessageInterface<TPsr7> |
14: | */ |
15: | interface RequestInterface extends |
16: | MessageInterface, |
17: | PsrRequestInterface, |
18: | HasRequestMethod |
19: | { |
20: | /** |
21: | * @inheritDoc |
22: | * |
23: | * @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} |
24: | */ |
25: | public function jsonSerialize(): array; |
26: | } |
27: |