You are here

function HTTP_Request::setMethod in Flickr API 5

Sets the method to be used, GET, POST etc.

@access public

Parameters

string Method to use. Use the defined constants for this:

File

phpFlickr/PEAR/HTTP/Request.php, line 469

Class

HTTP_Request
Class for performing HTTP requests

Code

function setMethod($method) {
  $this->_method = $method;
}