Download the PHP package fyre/response without Composer
On this page you can find all versions of the php package fyre/response. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download fyre/response
More information about fyre/response
Files in fyre/response
Download fyre/response
More information about fyre/response
Files in fyre/response
Please rate this library. Is it a good library?
Informations about the package response
FyreResponse
FyreResponse is a free, open-source immutable HTTP response library for PHP.
Table Of Contents
- Installation
- Basic Usage
- Methods
Installation
Using Composer
In PHP:
Basic Usage
$options
is an array containing the message options.body
is a string representing the message body, and will default to "".headers
is an array containing headers to set, and will default to [].protocolVersion
is a string representing the protocol version, and will default to "1.1".statusCode
is a number representing the status code, and will default to 200.
Methods
This class extends the Message class.
Get Reason
Get the response reason phrase.
Get Status Code
Get the status code.
Set Status Code
Set the status code.
$code
is a number representing the status code.
All versions of response with dependencies
PHP Build Version
Package Version
The package fyre/response contains the following files
Loading the files please wait ....