PHPackages                             alexya-framework/http - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Framework](/categories/framework)
4. /
5. alexya-framework/http

ActiveFramework[Framework](/categories/framework)

alexya-framework/http
=====================

Alexya's HTTP components

3.0.2(9y ago)0661GNUPHPPHP &gt;=7.0

Since Aug 22Pushed 9y ago1 watchersCompare

[ Source](https://github.com/AlexyaFramework/Http)[ Packagist](https://packagist.org/packages/alexya-framework/http)[ RSS](/packages/alexya-framework-http/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependenciesVersions (5)Used By (1)

HTTP
====

[](#http)

Alexya's HTTP components

Contents
--------

[](#contents)

- [Request](#request)
- [Response](#response)

Request
------------------------------------------

[](#request)

The class `\Alexya\Http\Request` offers a wrapper for the request supergloblas (`$_GET`, `$_POST`...).

You can retrieve the request with the method `main`.

The constructor accepts the following parameters:

- A string being the requested URI.
- An array being GET parameters.
- An array being POST parameters.
- An array being COOKIE parameters.
- An array being SERVER parameters.

Example:

```
