HttpMessage::setRequestMethod

(PECL pecl_http:0.10.0-1.5.5)

HttpMessage::setRequestMethodSet request method

Description

public bool HttpMessage::setRequestMethod ( string $method )

Set the Request Method of the HTTP Message.

Parameters

method

the request method name

Return Values

Returns TRUE on success, or FALSE if the message is not of type HttpMessage::TYPE_REQUEST or an invalid request method was supplied.


    

 

 

Home || Web Directroy || Web Designing || Get a Domain Name || Host your web site || Free Blogs || Free Tutorial || Free E-cards || Free GuestBook || Email