Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. CurlDownloader.php

CurlDownloader::$options

@var mixed[]

Type: options

File

vendor/composer/composer/src/Composer/Util/Http/CurlDownloader.php, line 64

Class

CurlDownloader
@internal @author Jordi Boggiano <j.boggiano@seld.be> @author Nicolas Grekas <p@tchwork.com> @phpstan-type Attributes array{retryAuthFailure: bool, redirects: int<0, max>, retries: int<0, max>, storeAuth:…

Namespace

Composer\Util\Http

Code

private static $options = [
    'http' => [
        'method' => CURLOPT_CUSTOMREQUEST,
        'content' => CURLOPT_POSTFIELDS,
        'header' => CURLOPT_HTTPHEADER,
        'timeout' => CURLOPT_TIMEOUT,
    ],
    'ssl' => [
        'cafile' => CURLOPT_CAINFO,
        'capath' => CURLOPT_CAPATH,
        'verify_peer' => CURLOPT_SSL_VERIFYPEER,
        'verify_peer_name' => CURLOPT_SSL_VERIFYHOST,
        'local_cert' => CURLOPT_SSLCERT,
        'local_pk' => CURLOPT_SSLKEY,
        'passphrase' => CURLOPT_SSLKEYPASSWD,
    ],
];

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal