Interface
RequestTypeExtractorInterface
Magento\GraphQl\Model\Backpressure\RequestTypeExtractorInterface
What it does
This interface defines a contract for extracting request type identifiers from GraphQL field definitions, used in Magento's backpressure system to identify and categorize different types of GraphQL requests.
Developers would implement this interface when creating custom logic to determine request types for rate limiting or throttling purposes in GraphQL APIs.
Public Methods
- extract()