HttpMessage::prepend
(PECL pecl_http >= 0.22.0)
HttpMessage::prepend — Prepend message(s)
Descrição
Prepends message(s) to the HTTP message.
Parâmetros
-
message -
HttpMessage object to prepend
-
top -
whether to prepend to the top most or right this message
Erros
Throws HttpInvalidParamException if the message is located within the same message chain.