downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

HttpRequest::getResponseHeader> <HttpRequest::getResponseCookies
[edit] Last updated: Fri, 25 May 2012

view this page in

HttpRequest::getResponseData

(PECL pecl_http >= 0.10.0)

HttpRequest::getResponseDataレスポンスデータを取得する

説明

public array HttpRequest::getResponseData ( void )

リクエストが送信された後に、すべてのレスポンスデータを取得します。

リダイレクトが許可されており、複数のレスポンスを受信した場合は、 最後に受信したレスポンスを参照します。

返り値

キー "headers"、"body" を持つ連想配列を返します。 "headers" にはすべてのレスポンスヘッダが連想配列として含まれ、 "body" にはレスポンス本文が文字列で含まれます。



add a note add a note User Contributed Notes HttpRequest::getResponseData
There are no user contributed notes for this page.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites