Class yii\httpclient\UrlEncodedParser

Inheritanceyii\httpclient\UrlEncodedParser » yii\base\BaseObject
Implementsyii\httpclient\ParserInterface
Available since version2.0

UrlEncodedParser parses HTTP message content as 'application/x-www-form-urlencoded'.

Public Methods

Hide inherited methods

MethodDescriptionDefined By
parse() Parses given HTTP response instance. yii\httpclient\UrlEncodedParser

Method Details

parse() public method

Parses given HTTP response instance.

public array parse ( yii\httpclient\Response $response )
$response yii\httpclient\Response

HTTP response instance.

return array

Parsed content data.