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

search for in the

HttpMessage::fromString> <HttpMessage::factory
[edit] Last updated: Fri, 25 May 2012

view this page in

HttpMessage::fromEnv

(PECL pecl_http >= 1.5.0)

HttpMessage::fromEnv環境から HttpMessage を作成する

説明

static public HttpMessage HttpMessage::fromEnv ( int $message_type [, string $class_name = "HttpMessage" ] )

スクリプトの環境から HttpMessage オブジェクトを作成します。

パラメータ

message_type

メッセージの型。HttpMessage の型の定数 を参照ください。

class_name

HttpMessage を継承したクラス。

返り値

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

参考



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

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