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

search for in the

HttpMessage::fromEnv> <HttpMessage::detach
Last updated: Fri, 10 Oct 2008

view this page in

HttpMessage::factory

(PECL pecl_http:1.4.0-1.5.5)

HttpMessage::factory文字列から HttpMessage を作成する

説明

static public HttpMessage HttpMessage::factory ([ string $raw_message [, string $class_name = 'HttpMessage' ]] )

文字列から HttpMessage オブジェクトを作成します。

パラメータ

raw_message

単一の、あるいは連続した複数の HTTP メッセージ。

class_name

HttpMessage を継承したクラス。

返り値

成功した場合は HttpMessage オブジェクト、失敗した場合は NULL を返します。

エラー / 例外

HttpMalformedHeadersException をスローします。



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

HttpMessage::fromEnv> <HttpMessage::detach
Last updated: Fri, 10 Oct 2008
 
 
show source | credits | stats | sitemap | contact | advertising | mirror sites