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

Breadcrumb

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

RequestOptions::CRYPTO_METHOD

crypto_method: (int) A value describing the minimum TLS protocol version to use.

This setting must be set to one of the ``STREAM_CRYPTO_METHOD_TLS*_CLIENT`` constants. PHP 7.4 or higher is required in order to use TLS 1.3, and cURL 7.34.0 or higher is required in order to specify a crypto method, with cURL 7.52.0 or higher being required to use TLS 1.3.

File

vendor/guzzlehttp/guzzle/src/RequestOptions.php, line 85

Class

RequestOptions
This class contains a list of built-in Guzzle request options.

Namespace

GuzzleHttp

Code

public const CRYPTO_METHOD = 'crypto_method';

API Navigation

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