HTTP_Client::setRequestParameter()

HTTP_Client::setRequestParameter() – Sets parameter(s) for HTTP requests

Synopsis

require_once 'HTTP/Client.php';

void HTTP_Client::setRequestParameter ( mixed $name , string $value = null )

Description

These parameters will be passed to constructors of created HTTP_Request instances.

Parameter

mixed $name

parameter name or array ('parameter name' => 'parameter value')

string $value

parameter value if $name is not an array

Throws

throws no exceptions thrown

Note

This function can not be called statically.

Sets the maximum number of redirects that will be processed. (Previous) Stores cookies and passes them between HTTP requests. (Next)
Last updated: Thu, 31 Jul 2014 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report or add a note.
View this page in:

User Notes:

There are no user contributed notes for this page.