HttpMessage::toMessageTypeObject
The HttpQueryString class
The HttpMessage class
PHP Manual

# HttpMessage::toString

(PECL pecl_http >= 0.10.0)

HttpMessage::toString — Get string representation

### Beschreibung

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

Get the string representation of the Message.

### Parameter-Liste

`include_parent`

  specifies whether the returned string should also contain any parent messages

### Rückgabewerte

Returns the message as string.

HttpMessage::toMessageTypeObject
The HttpQueryString class
The HttpMessage class
PHP Manual