constructor HTTP_Client::HTTP_Client()

constructor HTTP_Client::HTTP_Client()

constructor HTTP_Client::HTTP_Client() -- Constructor

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.

© Copyright 2003-2023 www.php-editors.com. The ultimate PHP Editor and PHP IDE site.