Lines Matching refs:response
61 * @param ResponseInterface $response Response that was received
68 ResponseInterface $response = null, argument
75 function (array $matches) use ($request, $response, $error, &$cache) {
86 $result = $response ? Psr7\str($response) : '';
95 $result = $response ?
98 $response->getProtocolVersion(),
99 $response->getStatusCode(),
100 $response->getReasonPhrase()
101 ) . "\r\n" . $this->headers($response)
108 $result = $response ? $response->getBody() : 'NULL';
134 $result = $response
135 ? $response->getProtocolVersion()
145 $result = $response ? $response->getStatusCode() : 'NULL';
148 $result = $response ? $response->getReasonPhrase() : 'NULL';
158 $result = $response
159 ? $response->getHeaderLine(substr($matches[1], 11))