HttpMessage::setBody

(PECL pecl_http >= 0.14.0)

HttpMessage::setBodySet message body

Descrierea

public void HttpMessage::setBody ( string $body )

Set the body of the HttpMessage.

Notă:

Don't forget to update any headers accordingly.

Parametri

body

the new body of the message

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top