You are here

function HTTP_Request::reset in Flickr API 5

Resets the object to its initial state (DEPRECATED). Takes the same parameters as the constructor.

@access public

Parameters

string $url The url to be requested:

array $params Associative array of parameters: (see constructor for details)

Deprecated

deprecated since 1.2, call the constructor if this is necessary

File

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

Class

HTTP_Request
Class for performing HTTP requests

Code

function reset($url, $params = []) {
  $this
    ->HTTP_Request($url, $params);
}