-
Notifications
You must be signed in to change notification settings - Fork 1
Response: __construct Example
Terry L edited this page Jun 20, 2020
·
2 revisions
Shieldon\Psr7\Message\Response
Extends Message.
-
param
intstatus= 200Response HTTP status code. -
param
arrayheaders= []Response headers. -
param
StreamInterface|stringbody= ""Response body. -
param
stringversion= "1.1"Response protocol version. -
param
stringreason= "OK"Reasponse HTTP reason phrase.
Example:
$response = new \Shieldon\Psr7\Response();composer require shieldon/psr-httpShieldon PSR HTTP implementation written by Terry L. from Taiwan.
