Download the PHP package jimdo/http without Composer
On this page you can find all versions of the php package jimdo/http. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package http
php-http-lib
This repository is a library of http clients - Response, Request and Session.
Makefile
The library code provides a Makefile:
Download
$ https://packagist.org/packages/jimdo/http
$ composer require jimdo/http
Developement setup
Useful methods in the Request
Object
- __construct(queryParams, formData, sessionData) - The construct is the field where the query params and form data need to fill in as an array. The third one is a session object.
- getQueryParams() - Returns query params as an array if available
- getFormData() - Returns information from the form as an array
- getSessionData() - Returns session data as an array
Useful methods in the Response
Object
- addBody() - Attach html code to one string for the correct body format
- addHeader() - Add one header to the Response Headers
- render() - Render header and body into correct html output code
Session
Object
The Session Object handles with magic properties and methods.
-
Set properties via __construct or define properties with the session object
- Get properties
All versions of http with dependencies
PHP Build Version
Package Version
No informations.
The package jimdo/http contains the following files
Loading the files please wait ....