Search for request

  1. Search 7.x for request
  2. Search 8.9.x for request
  3. Search 10.3.x for request
  4. Search 11.x for request
  5. Other projects
Title Object type File name Summary
RequestSanitizerTest::testAcceptableDestinationPost function core/tests/Drupal/Tests/Core/Security/RequestSanitizerTest.php Tests acceptable destinations are not removed from POST requests.
RequestSanitizerTest::testRequestSanitization function core/tests/Drupal/Tests/Core/Security/RequestSanitizerTest.php Tests RequestSanitizer class.
RequestSanitizerTest::testSanitizedDestinationGet function core/tests/Drupal/Tests/Core/Security/RequestSanitizerTest.php Tests unacceptable destinations are removed from GET requests.
RequestSanitizerTest::testSanitizedDestinationPost function core/tests/Drupal/Tests/Core/Security/RequestSanitizerTest.php Tests unacceptable destinations are removed from GET requests.
RequestStack class core/lib/Drupal/Core/Http/RequestStack.php Forward-compatibility shim for Symfony's RequestStack.
RequestStack.php file core/lib/Drupal/Core/Http/RequestStack.php
RequestStack::getMainRequest function core/lib/Drupal/Core/Http/RequestStack.php Gets the main request.
RequestStack::getMasterRequest function core/lib/Drupal/Core/Http/RequestStack.php
RequestStackCacheContextBase class core/lib/Drupal/Core/Cache/Context/RequestStackCacheContextBase.php Defines a base class for cache contexts depending only on the request stack.
RequestStackCacheContextBase.php file core/lib/Drupal/Core/Cache/Context/RequestStackCacheContextBase.php
RequestStackCacheContextBase::$requestStack property core/lib/Drupal/Core/Cache/Context/RequestStackCacheContextBase.php The request stack.
RequestStackCacheContextBase::__construct function core/lib/Drupal/Core/Cache/Context/RequestStackCacheContextBase.php Constructs a new RequestStackCacheContextBase class.
RequestStackLegacyTest class core/tests/Drupal/Tests/Core/Http/RequestStackLegacyTest.php @coversDefaultClass \Drupal\Core\Http\RequestStack
@group legacy
RequestStackLegacyTest.php file core/tests/Drupal/Tests/Core/Http/RequestStackLegacyTest.php
RequestStackLegacyTest::testGetMasterRequestDeprecation function core/tests/Drupal/Tests/Core/Http/RequestStackLegacyTest.php Tests deprecation message in our subclassed RequestStack.
request_close_subscriber service core/core.services.yml Drupal\Core\EventSubscriber\RequestCloseSubscriber
request_format_route_filter service core/core.services.yml Drupal\Core\Routing\RequestFormatRouteFilter
request_stack service core/core.services.yml Drupal\Core\Http\RequestStack
REQUEST_TIME constant core/includes/bootstrap.inc Time of the current request in seconds elapsed since the Unix Epoch.
ResourceBase::requestMethods function core/modules/rest/src/Plugin/ResourceBase.php Provides predefined HTTP request methods.
ResourceResponseValidatorTest::createRequest function core/modules/jsonapi/tests/src/Unit/EventSubscriber/ResourceResponseValidatorTest.php Helper method to create a request object.
ResourceTestBase::getAuthenticationRequestOptions function core/modules/jsonapi/tests/src/Functional/ResourceTestBase.php Returns Guzzle request options for authentication.
ResourceTestBase::getAuthenticationRequestOptions function core/modules/rest/tests/src/Functional/ResourceTestBase.php Returns Guzzle request options for authentication.
ResourceTestBase::request function core/modules/rest/tests/src/Functional/ResourceTestBase.php Performs a HTTP request. Wraps the Guzzle HTTP client.
ResourceVersionRouteEnhancer::WORKING_COPIES_REQUESTED constant core/modules/jsonapi/src/Revisions/ResourceVersionRouteEnhancer.php A route parameter key which indicates that working copies were requested.
RestRegisterUserTest::createRequestBody function core/modules/hal/tests/src/Functional/user/RestRegisterUserTest.php Create the request body.
RestRegisterUserTest::createRequestOptions function core/modules/hal/tests/src/Functional/user/RestRegisterUserTest.php Helper function to generate the request body.
RestRegisterUserTest::registerRequest function core/modules/hal/tests/src/Functional/user/RestRegisterUserTest.php Make a REST user registration request.
rest_test.page_cache_request_policy.deny_test_auth_requests service core/modules/rest/tests/modules/rest_test/rest_test.services.yml Drupal\rest_test\PageCache\RequestPolicy\DenyTestAuthRequests
ReverseProxyMiddleware::setSettingsOnRequest function core/lib/Drupal/Core/StackMiddleware/ReverseProxyMiddleware.php Sets reverse proxy settings on Request object.
RouteMatch::createFromRequest function core/lib/Drupal/Core/Routing/RouteMatch.php Creates a RouteMatch from a request.
RouteMatchTest::testRouteMatchFromRequest function core/tests/Drupal/Tests/Core/Routing/RouteMatchTest.php @covers ::createFromRequest
@covers ::__construct
RoutePreloader::onRequest function core/lib/Drupal/Core/Routing/RoutePreloader.php Loads all non-admin routes right before the actual page is rendered.
RoutePreloaderTest::testOnRequestNonHtml function core/tests/Drupal/Tests/Core/Routing/RoutePreloaderTest.php Tests onRequest on a non html request.
RoutePreloaderTest::testOnRequestOnHtml function core/tests/Drupal/Tests/Core/Routing/RoutePreloaderTest.php Tests onRequest on a html request.
RouteProvider::getRouteCollectionForRequest function core/tests/Drupal/KernelTests/RouteProvider.php Finds routes that may potentially match the request.
RouteProvider::getRouteCollectionForRequest function core/lib/Drupal/Core/Routing/RouteProvider.php Finds routes that may potentially match the request.
RouteProviderInterface::getRouteCollectionForRequest function core/lib/Drupal/Core/Routing/RouteProviderInterface.php Finds routes that may potentially match the request.
RouteProviderLazyBuilder::getRouteCollectionForRequest function core/lib/Drupal/Core/Routing/RouteProviderLazyBuilder.php Finds routes that may potentially match the request.
router.request_context service core/core.services.yml Drupal\Core\Routing\RequestContext
Router::matchRequest function core/lib/Drupal/Core/Routing/Router.php
Routes::isJsonApiRequest function core/modules/jsonapi/src/Routing/Routes.php Determines if the given request is for a JSON:API generated route.
SecurityAdvisoriesFetcher::doRequest function core/modules/system/src/SecurityAdvisories/SecurityAdvisoriesFetcher.php Makes an HTTPS GET request, with a possible HTTP fallback.
SessionCacheContextTest::$request property core/tests/Drupal/Tests/Core/Cache/Context/SessionCacheContextTest.php The request.
SessionCacheContextTest::$requestStack property core/tests/Drupal/Tests/Core/Cache/Context/SessionCacheContextTest.php The request stack.
SessionCacheContextTest::testContextWithoutSessionInRequest function core/tests/Drupal/Tests/Core/Cache/Context/SessionCacheContextTest.php @covers ::getContext
SessionExistsCacheContext::$requestStack property core/lib/Drupal/Core/Cache/Context/SessionExistsCacheContext.php The request stack.
SessionHandler::$requestStack property core/lib/Drupal/Core/Session/SessionHandler.php The request stack.
SessionManager::$requestStack property core/lib/Drupal/Core/Session/SessionManager.php The request stack.
SessionTestSubscriber::onKernelRequestSessionTest function core/modules/system/tests/modules/session_test/src/EventSubscriber/SessionTestSubscriber.php Set header for session testing.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.