File tree 2 files changed +4
-1
lines changed
2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change 2
2
3
3
namespace Ivan770 \HttpClient ;
4
4
5
+ use Illuminate \Contracts \Support \Arrayable ;
5
6
use Illuminate \Support \Traits \Macroable ;
6
7
use Ivan770 \HttpClient \Response \Response ;
7
8
use Ivan770 \HttpClient \Traits \InteractsWithEloquent ;
19
20
* @method HttpClient query(array $query) Add query string values to request
20
21
* @method HttpClient withoutRedirects() Ignore all redirects for this request
21
22
* @method HttpClient proxy(string $proxy, string $noproxy) Change proxy for this request
23
+ * @method HttpClient parse(Arrayable $arrayable) Parse Arrayable class as JSON data source
22
24
* @method Response get(string $url, array $arguments = []) Send a GET request
23
25
* @method Response head(string $url, array $arguments = []) Send a HEAD request
24
26
* @method Response post(string $url, array $arguments = []) Send a POST request
Original file line number Diff line number Diff line change 3
3
4
4
namespace Ivan770 \HttpClient \Request ;
5
5
6
+ use Illuminate \Contracts \Support \Arrayable ;
6
7
use Illuminate \Support \Collection ;
7
8
use Ivan770 \HttpClient \Contracts \PassToBrowserKit ;
8
9
use Ivan770 \HttpClient \Contracts \Request as RequestContract ;
9
10
use Ivan770 \HttpClient \HttpClient ;
10
- use Ivan770 \HttpClient \Response \Response ;
11
11
use Symfony \Component \BrowserKit \CookieJar ;
12
12
use Symfony \Component \BrowserKit \History ;
13
13
use Symfony \Component \DomCrawler \Crawler ;
22
22
* @method RequestContract query(array $query) Add query string values to request
23
23
* @method RequestContract withoutRedirects() Ignore all redirects for this request
24
24
* @method RequestContract proxy(string $proxy, string $noproxy) Change proxy for this request
25
+ * @method RequestContract parse(Arrayable $arrayable) Parse Arrayable class as JSON data source
25
26
*
26
27
* @see Builder
27
28
*/
You can’t perform that action at this time.
0 commit comments