isRestResponse()
isRestResponse(\Psr\Http\Message\ResponseInterface $response) : boolean
Check if this is a REST request by sniffing headers.
Parameters
\Psr\Http\Message\ResponseInterface | $response |
Determine GraphQL or REST response type.