Clase HttpMessage
PHP Manual

HttpMessage::toString

(PECL pecl_http >= 0.10.0)

HttpMessage::toStringGet string representation

Descripción

public string HttpMessage::toString ([ bool $include_parent = false ] )

Get the string representation of the Message.

Parámetros

include_parent

specifies whether the returned string should also contain any parent messages

Valores devueltos

Returns the message as string.


Clase HttpMessage
PHP Manual