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

search for in the

HttpMessage::fromEnv> <HttpMessage::detach
[edit] Last updated: Fri, 24 May 2013

view this page in

HttpMessage::factory

(PECL pecl_http >= 1.4.0)

HttpMessage::factoryCrear un objecto HttpMessage a partir de un string

Descripción

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

Crea un objecto HttpMessage a partir de un string.

Parámetros

raw_message

uno o varios mensajes HTTP consecutivos

class_name

clase que extiende HttpMessage

Valores devueltos

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

Errores/Excepciones

Emite HttpMalformedHeadersException.

Ver también



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

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