previousRésumé de la classe HTTP_Client (Previous) (Next) HTTP_Client::attach()next

View this page in Last updated: Sun, 18 Oct 2009
English | Brazilian Portuguese | Chinese | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Turkish

constructor HTTP_Client::HTTP_Client()

constructor HTTP_Client::HTTP_Client() – Constructor

Synopsis

require_once 'HTTP/Client.php';

void constructor HTTP_Client::HTTP_Client ( array $defaultRequestParams = null , array $defaultHeaders = null )

Description

Sets default request parameters and default headers.

Parameter

array $defaultRequestParams

Parameters to pass to HTTP_Request's constructor

array $defaultHeaders

Default headers to send on every request

Throws

throws no exceptions thrown

Note

This function can not be called statically.

previousRésumé de la classe HTTP_Client (Previous) (Next) HTTP_Client::attach()next

Download Documentation Last updated: Sun, 18 Oct 2009
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.