HttpMessage::reverse
HttpMessage::setBody
The HttpMessage class
PHP Manual

# HttpMessage::send

(PECL pecl_http >= 0.10.0)

HttpMessage::send — Send message

### Descripción

public bool HttpMessage::send ( void )

Send the Message according to its type as Response or Request.

This provides limited functionality compared to HttpRequest and HttpResponse.

### Valores retornados

Devuelve `TRUE` si todo se llevó a cabo correctamente, `FALSE` en caso de fallo.

HttpMessage::reverse
HttpMessage::setBody
The HttpMessage class
PHP Manual