12 calls to Drupal::httpClient() in Drupal 10
- DrupalTest::testHttpClient in core/
tests/ Drupal/ Tests/ Core/ DrupalTest.php - Tests the httpClient() method.
- install_check_localization_server in core/
includes/ install.core.inc - Checks if the localization server can be contacted.
- install_retrieve_file in core/
includes/ install.core.inc - Attempts to get a file using a HTTP request and to store it locally.
- StatisticsAdminTest::setUp in core/
modules/ statistics/ tests/ src/ Functional/ StatisticsAdminTest.php - StatisticsReportsTest::testPopularContentBlock in core/
modules/ statistics/ tests/ src/ Functional/ StatisticsReportsTest.php - Tests the "popular content" block.
- StatisticsTokenReplaceTest::testStatisticsTokenReplacement in core/
modules/ statistics/ tests/ src/ Functional/ StatisticsTokenReplaceTest.php - Creates a node, then tests the statistics tokens generated from it.
- StyleSerializerTest::testRestViewsAuthentication in core/
modules/ rest/ tests/ src/ Functional/ Views/ StyleSerializerTest.php - Checks that the auth options restricts access to a REST views display.
- system_retrieve_file in core/
modules/ system/ system.module - Attempts to get a file using Guzzle HTTP client and to store it locally.
- UserLoginHttpTest::doTestLogin in core/
modules/ user/ tests/ src/ Functional/ UserLoginHttpTest.php - Do login testing for a given serialization format.
- UserLoginHttpTest::doTestLogoutCsrfProtection in core/
modules/ user/ tests/ src/ Functional/ UserLoginHttpTest.php - Tests csrf protection of User Logout route for given serialization format.
- UserLoginHttpTest::loginRequest in core/
modules/ user/ tests/ src/ Functional/ UserLoginHttpTest.php - Executes a login HTTP request for a given serialization format.
- UserLoginHttpTest::passwordRequest in core/
modules/ user/ tests/ src/ Functional/ UserLoginHttpTest.php - Executes a password HTTP request for a given serialization format.