Class shardimage\shardimagephpapi\web\parsers\RawResponse

Inheritanceshardimage\shardimagephpapi\web\parsers\RawResponse » shardimage\shardimagephpapi\web\parsers\BaseRawMessage

Raw HTTP response object.

Public Methods

Hide inherited methods

MethodDescriptionDefined By
__construct() Creates and parses a HTTP message. shardimage\shardimagephpapi\web\parsers\BaseRawMessage
isFile() Returns whether the message is a file. shardimage\shardimagephpapi\web\parsers\BaseRawMessage

Property Details

$protocol public property

HTTP protocol

public string $protocol null
$statusCode public property

HTTP status code

public string $statusCode null
$statusText public property

HTTP status

public string $statusText null

Method Details

decodeMessage() protected method

Decodes the HTTP response.

protected void decodeMessage ( $message )
$message string|\Psr\Http\Message\ResponseInterface
parse() protected method

Parses the HTTP response.

protected void parse ( )