API Joomla 1.5.26
Documentation des API du CMS Joomla en version 1.5
|
& php_http_request::getHeaders | ( | ) |
php_http_request::setAuthorization | ( | $ | user, |
$ | password | ||
) |
Specifies a user name and password for basic authentication
string | The user name |
string | The password |
Références setHeader().
php_http_request::setHeader | ( | $ | name, |
$ | value, | ||
$ | allowMultipleHeaders = false |
||
) |
Sets the header to the specified value
string | The header name |
string | The header value |
boolean | True if multiple headers with the same name are allowed |
Référencé par php_http_client_generic::connect(), php_http_proxy::get_custom(), php_http_client_generic::post(), setAuthorization(), php_http_proxy::setHeaders(), setHeaders(), et php_http_proxy::setProxyAuthorization().
php_http_request::setHeaders | ( | ) |
Default method for setting headers; meant to be overridden in subclasses
Réimplémentée dans php_http_proxy.
Références setHeader().
Référencé par php_http_client_generic::php_http_client_generic().
php_http_request::setProtocolVersion | ( | $ | version | ) |
Sets the version number of the protocol
string | The version number |
Références $version.
php_http_request::setRequestMethod | ( | $ | method | ) |
Sets the request method, e.g., GET
string | The name of the request method |
Référencé par php_http_client_generic::get(), php_http_client_generic::head(), et php_http_client_generic::post().
php_http_request::setRequestPath | ( | $ | path | ) |
Sets the request path, e.g., http://www.engageinteractive.com/domit/test.xml
string | The request path |
Références $path.
Référencé par php_http_client_generic::get().
php_http_request::$headers = null |
Référencé par php_http_client_generic::send().
php_http_request::$protocol = 'HTTP' |
php_http_request::$protocolVersion = '1.1' |
php_http_request::$requestMethod = 'POST' |
php_http_request::$requestPath = '' |