HttpMessage
PHP Manual

HttpMessage::setBody

(PECL pecl_http >= 0.14.0)

HttpMessage::setBodySet message body

Opis

public void HttpMessage::setBody ( string $body )

Set the body of the HttpMessage.

Informacja:

Don't forget to update any headers accordingly.

Parametry

body

the new body of the message


HttpMessage
PHP Manual