[ Index ] |
PHP Cross Reference of Joomla 4.2.2 documentation |
[Source view] [Print] [Project Stats]
Part of the Joomla Framework Http Package
Copyright: | Copyright (C) 2005 - 2021 Open Source Matters, Inc. All rights reserved. |
License: | GNU General Public License version 2 or later; see LICENSE |
File Size: | 361 lines (9 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
Curl:: (6 methods):
request()
setCAOptionAndValue()
getResponse()
isSupported()
mapProtocolVersion()
redirectsAllowed()
request($method, UriInterface $uri, $data = null, array $headers = [], $timeout = null, $userAgent = null) X-Ref |
Send a request to the server and return a Response object with the response. param: string $method The HTTP method for sending the request. param: UriInterface $uri The URI to the resource to request. param: mixed $data Either an associative array or a string to be sent with the request. param: array $headers An array of request headers to send with the request. param: integer $timeout Read timeout in seconds. param: string $userAgent The optional user agent string to send with the request. return: Response |
setCAOptionAndValue($ch) X-Ref |
Configure the cURL resources with the appropriate root certificates. param: resource $ch The cURL resource you want to configure the certificates on. return: void |
getResponse($content, $info) X-Ref |
Method to get a response object from a server response. param: string $content The complete server response, including headers param: array $info The cURL request information. return: Response |
isSupported() X-Ref |
Method to check if HTTP transport cURL is available for use return: boolean True if available, else false |
mapProtocolVersion(string $version) X-Ref |
Get the cURL constant for a HTTP protocol version param: string $version The HTTP protocol version to use return: integer |
redirectsAllowed() X-Ref |
Check if redirects are allowed return: boolean |
Generated: Wed Sep 7 05:41:13 2022 | Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer |