|
12 | 12 | * @method static \Gokure\Http\Client\PendingRequest asForm()
|
13 | 13 | * @method static \Gokure\Http\Client\PendingRequest asJson()
|
14 | 14 | * @method static \Gokure\Http\Client\PendingRequest asMultipart()
|
15 |
| - * @method static \Gokure\Http\Client\PendingRequest attach(string $name, string $contents, string|null $filename = null, array $headers = []) |
| 15 | + * @method static \Gokure\Http\Client\PendingRequest async() |
| 16 | + * @method static \Gokure\Http\Client\PendingRequest attach(string|array $name, string $contents = '', string|null $filename = null, array $headers = []) |
16 | 17 | * @method static \Gokure\Http\Client\PendingRequest baseUrl(string $url)
|
17 | 18 | * @method static \Gokure\Http\Client\PendingRequest beforeSending(callable $callback)
|
18 | 19 | * @method static \Gokure\Http\Client\PendingRequest bodyFormat(string $format)
|
19 | 20 | * @method static \Gokure\Http\Client\PendingRequest contentType(string $contentType)
|
| 21 | + * @method static \Gokure\Http\Client\PendingRequest dd() |
| 22 | + * @method static \Gokure\Http\Client\PendingRequest dump() |
20 | 23 | * @method static \Gokure\Http\Client\PendingRequest retry(int $times, int $sleep = 0)
|
21 |
| - * @method static \Gokure\Http\Client\PendingRequest sink($to) |
| 24 | + * @method static \Gokure\Http\Client\PendingRequest sink(string|resource $to) |
22 | 25 | * @method static \Gokure\Http\Client\PendingRequest stub(callable $callback)
|
23 | 26 | * @method static \Gokure\Http\Client\PendingRequest timeout(int $seconds)
|
24 | 27 | * @method static \Gokure\Http\Client\PendingRequest withBasicAuth(string $username, string $password)
|
25 | 28 | * @method static \Gokure\Http\Client\PendingRequest withBody(resource|string $content, string $contentType)
|
26 | 29 | * @method static \Gokure\Http\Client\PendingRequest withCookies(array $cookies, string $domain)
|
27 | 30 | * @method static \Gokure\Http\Client\PendingRequest withDigestAuth(string $username, string $password)
|
28 | 31 | * @method static \Gokure\Http\Client\PendingRequest withHeaders(array $headers)
|
| 32 | + * @method static \Gokure\Http\Client\PendingRequest withMiddleware(callable $middleware) |
29 | 33 | * @method static \Gokure\Http\Client\PendingRequest withOptions(array $options)
|
30 | 34 | * @method static \Gokure\Http\Client\PendingRequest withToken(string $token, string $type = 'Bearer')
|
| 35 | + * @method static \Gokure\Http\Client\PendingRequest withUserAgent(string $userAgent) |
31 | 36 | * @method static \Gokure\Http\Client\PendingRequest withoutRedirecting()
|
32 | 37 | * @method static \Gokure\Http\Client\PendingRequest withoutVerifying()
|
33 |
| - * @method static \Gokure\Http\Client\PendingRequest dump() |
34 |
| - * @method static \Gokure\Http\Client\PendingRequest dd() |
35 |
| - * @method static \Gokure\Http\Client\PendingRequest async() |
36 |
| - * @method static \Gokure\Http\Client\Pool pool(callable $callback) |
| 38 | + * @method static array pool(callable $callback) |
37 | 39 | * @method static \Gokure\Http\Client\Response delete(string $url, array $data = [])
|
38 |
| - * @method static \Gokure\Http\Client\Response get(string $url, array $query = []) |
39 |
| - * @method static \Gokure\Http\Client\Response head(string $url, array $query = []) |
| 40 | + * @method static \Gokure\Http\Client\Response get(string $url, array|string|null $query = null) |
| 41 | + * @method static \Gokure\Http\Client\Response head(string $url, array|string|null $query = null) |
40 | 42 | * @method static \Gokure\Http\Client\Response patch(string $url, array $data = [])
|
41 | 43 | * @method static \Gokure\Http\Client\Response post(string $url, array $data = [])
|
42 | 44 | * @method static \Gokure\Http\Client\Response put(string $url, array $data = [])
|
|
0 commit comments