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

search for in the

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

view this page in

HttpRequest::getResponseCode

(PECL pecl_http >= 0.10.0)

HttpRequest::getResponseCodeレスポンスコードを取得する

説明

public int HttpRequest::getResponseCode ( void )

リクエストが送信された後に、レスポンスコードを取得します。

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

返り値

レスポンスコードを整数値で返します。



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

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