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

search for in the

HttpMessage::fromString> <HttpMessage::factory
[edit] Last updated: Fri, 24 May 2013

view this page in

HttpMessage::fromEnv

(PECL pecl_http >= 1.5.0)

HttpMessage::fromEnvCrear un objeto HttpMessage a partir del entorno

Descripción

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

Crea un objecto HttpMessage a partir del entorno del script.

Parámetros

message_type

Tipo de mensaje. Revise las constantes predefinidas para HttpMessage.

class_name

clase que extiende HttpMessage

Valores devueltos

En caso de éxito devuelve un objeto HttpMessage, o NULL en caso de error.

Ver también



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

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