The HttpMessage class
PHP Manual

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 Manual