httpclient\ParserInterface

Interface yii\httpclient\ParserInterface

Implemented by yii\httpclient\JsonParser, yii\httpclient\UrlEncodedParser, yii\httpclient\XmlParser
Available since version 2.0
Source Code https://github.com/yiisoft/yii2-httpclient/blob/master/ParserInterface.php

ParserInterface represents HTTP response message parser.

Public Methods

Method Description Defined By
parse() Parses given HTTP response instance. yii\httpclient\ParserInterface

Method Details

parse() public abstract method

Parses given HTTP response instance.

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

HTTP response instance.

return array

Parsed content data.

© 2008–2017 by Yii Software LLC
Licensed under the three clause BSD license.
http://www.yiiframework.com/doc-2.0/yii-httpclient-parserinterface.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部