-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathAsyncRequestInterface.php
More file actions
64 lines (54 loc) · 1.05 KB
/
AsyncRequestInterface.php
File metadata and controls
64 lines (54 loc) · 1.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
<?php
declare(strict_types=1);
namespace flight;
interface AsyncRequestInterface
{
/**
* This will get the underlying request for an async service
*
* @return mixed
*/
public function getRequest();
/**
* Gets the $_SERVER vars
*
* @return array<string, mixed>
*/
public function getServer(): ?array;
/**
* Gets the headers
*
* @return array<string, string>
*/
public function getHeaders(): ?array;
/**
* Get HTTP Headers
*
* @return array<string, string>
*/
public function getCookies(): ?array;
/**
* Gets $_GET
*
* @return array<string, string>
*/
public function getGet(): ?array;
/**
* Gets $_POST
*
* @return array<string, string>
*/
public function getPost(): ?array;
/**
* Gets $_FILES
*
* @return array<mixed, mixed>
*/
public function getFiles(): ?array;
/**
* Request Body
*
* @return string
*/
public function getBody(): ?string;
}