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

search for in the

HttpMessage::toString> <HttpMessage::setType
[edit] Last updated: Fri, 25 May 2012

view this page in

HttpMessage::toMessageTypeObject

(PECL pecl_http >= 0.22.0)

HttpMessage::toMessageTypeObjectメッセージの型に応じた HTTP オブジェクトを作成する

説明

public HttpRequest|HttpResponse HttpMessage::toMessageTypeObject ( void )

メッセージの型に応じたオブジェクトを作成します。

パラメータ

返り値

成功した場合に HttpRequest オブジェクトあるいは HttpResponse オブジェクト、失敗した場合に NULL を返します。

エラー / 例外

HttpRuntimeExceptionHttpMessageTypeExceptionHttpHeaderException をスローします。



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

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