PHP 5.4.31 Released

HttpMessage::prepend

(PECL pecl_http >= 0.22.0)

HttpMessage::prependPrepend message(s)

설명

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

Prepends message(s) to the HTTP message.

인수

message

HttpMessage object to prepend

top

whether to prepend to the top most or right this message

오류/예외

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

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top