Core MVC, HTTP client, Session, Cookie, Config, HTTPException — 111 PHPUnit tests. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
26 lines
674 B
PHP
26 lines
674 B
PHP
<?php
|
|
/**
|
|
* @package Bicycle
|
|
* @author Egor Isaev
|
|
* @description HTTP/Request.php
|
|
* @copyright (c) 04/06/2026
|
|
*/
|
|
|
|
namespace System\Classes\HTTP;
|
|
|
|
interface Request
|
|
{
|
|
public const GET = 'GET';
|
|
public const POST = 'POST';
|
|
public const PUT = 'PUT';
|
|
public const PATCH = 'PATCH';
|
|
public const DELETE = 'DELETE';
|
|
public const HEAD = 'HEAD';
|
|
public const OPTIONS = 'OPTIONS';
|
|
|
|
public function method(?string $method = null);
|
|
public function uri();
|
|
public function query(null|string|array $key = null, mixed $value = null);
|
|
public function post(null|string|array $key = null, mixed $value = null);
|
|
}
|