Advertisement
vitozy

HTTP Client hibakezelés

Apr 30th, 2020
413
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.31 KB | None | 0 0
  1. <?php
  2. // Illuminate\Http\Client\Response
  3. $response->body() : string;
  4. $response->json() : array;
  5. $response->status() : int;
  6. $response->ok() : bool;
  7. $response->successful() : bool;
  8. $response->serverError() : bool;
  9. $response->clientError() : bool;
  10. $response->header($header) : string;
  11. $response->headers() : array;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement