HttpMessage
PHP Manual

HttpMessage::prepend

(PECL pecl_http >= 0.22.0)

HttpMessage::prependPrepend message(s)

Descrizione

public void HttpMessage::prepend ( HttpMessage $message [, bool $top = true ] )

Prepends message(s) to the HTTP message.

Elenco dei parametri

message

HttpMessage object to prepend

top

whether to prepend to the top most or right this message

Errori/Eccezioni

Throws HttpInvalidParamException if the message is located within the same message chain.


HttpMessage
PHP Manual