The HttpMessage class
PHP 手册

HttpMessage::send

(PECL pecl_http >= 0.10.0)

HttpMessage::sendSend message

说明

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.

返回值

如果成功则返回 TRUE,失败则返回 FALSE


The HttpMessage class
PHP 手册