HTTP_Client::setDefaultHeader()

HTTP_Client::setDefaultHeader() -- Sets default header(s) for HTTP requests

Synopsis

require_once 'HTTP/Client.php';

void HTTP_Client::setDefaultHeader (mixed $name [, string $value = NULL])

Описание

These are standard HTTP headers that will be sent by all created HTTP_Request objects.

Параметр

mixed $name

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

string $value

header value if $name is not an array

Throws

throws no exceptions thrown

Заметка

Эта функция не должна вызываться статически.


HIVE: All information for read only. Please respect copyright!
Hosted by hive йца: йХЕБЯЙЮЪ ЦНПНДЯЙЮЪ АХАКХНРЕЙЮ