HttpClient.php 748 B

123456789101112131415161718192021222324252627
  1. <?php
  2. namespace App\MicroApi\Facades;
  3. use Illuminate\Support\Facades\Facade;
  4. use Psr\Http\Message\RequestInterface;
  5. use Psr\Http\Message\ResponseInterface;
  6. /**
  7. * @method static ResponseInterface get(string $uri, array $options = [])
  8. * @method static ResponseInterface post(string $uri, array $options = [])
  9. * @method static ResponseInterface send(RequestInterface $request, array $options = [])
  10. * @method static ResponseInterface request(string $method, string $uri, array $options = [])
  11. *
  12. * @see \GuzzleHttp\Client
  13. */
  14. class HttpClient extends Facade
  15. {
  16. /**
  17. * Get the registered name of the component.
  18. *
  19. * @return string
  20. */
  21. protected static function getFacadeAccessor()
  22. {
  23. return 'HttpClient';
  24. }
  25. }