Метод | Описание | |
---|---|---|
onFailure ( |
Called on errors | |
onResponse ( Psr\Http\Message\ResponseInterface $response ) | Called on successful responses |
public onFailure ( |
||
$exception |
public onResponse ( Psr\Http\Message\ResponseInterface $response ) | ||
$response | Psr\Http\Message\ResponseInterface |