Download the PHP package werkint/reactphp-http without Composer
On this page you can find all versions of the php package werkint/reactphp-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 reactphp-http
Http Component
Library for building an evented http server.
This component builds on top of the Socket
component to implement HTTP. Here
are the main concepts:
- Server: Attaches itself to an instance of
React\Socket\ServerInterface
, parses any incoming data as HTTP, emits arequest
event for each request. - Request: A
ReadableStream
which streams the request body and contains meta data which was parsed from the request header. - Response A
WritableStream
which streams the response body. You can set the status code and response headers via thewriteHead()
method.
Quickstart example
This is an HTTP server which responds with Hello World
to every request.
See also the examples.
All versions of reactphp-http with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.4.0
guzzlehttp/psr7 Version ^1.0
react/socket Version ^0.4
react/stream Version ^0.4
evenement/evenement Version ^2.0
guzzlehttp/psr7 Version ^1.0
react/socket Version ^0.4
react/stream Version ^0.4
evenement/evenement Version ^2.0
The package werkint/reactphp-http contains the following files
Loading the files please wait ....