HttpMessage::setBody

(PECL pecl_http >= 0.14.0)

HttpMessage::setBodySet message body

Description

public void HttpMessage::setBody ( string $body )

Set the body of the HttpMessage.

Note:

Don't forget to update any headers accordingly.

Parameters

body

the new body of the message


Copyright © 2010-2024 Platon Technologies, s.r.o.           Index | Man stránky | tLDP | Dokumenty | Utilitky | O projekte
Design by styleshout