Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | n/a |
0 / 0 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
1 | <?php declare(strict_types=1); |
2 | /* |
3 | * This file is part of Aplus Framework HTTP Library. |
4 | * |
5 | * (c) Natan Felles <natanfelles@gmail.com> |
6 | * |
7 | * For the full copyright and license information, please view the LICENSE |
8 | * file that was distributed with this source code. |
9 | */ |
10 | namespace Framework\HTTP; |
11 | |
12 | /** |
13 | * Interface RequestInterface. |
14 | * |
15 | * @see https://developer.mozilla.org/en-US/docs/Web/HTTP/Messages#http_requests |
16 | * |
17 | * @package http |
18 | */ |
19 | interface RequestInterface extends MessageInterface |
20 | { |
21 | public function getMethod() : string; |
22 | |
23 | public function isMethod(string $method) : bool; |
24 | |
25 | public function getUrl() : URL; |
26 | } |