Guzzle PHP 5.3 DocumentationGuzzle Guzzle is a PHP HTTP client that makes it easy to send HTTP requests and trivial to integrate with web services. Manages things like persistent connections, represents query strings as collections around with cURL options, stream contexts, or sockets. $client = new GuzzleHttp\Client(); $response = $client->get('http://guzzlephp.org'); $res = $client->get('https://api.github.com/user', ['auth' => ['user' JSON decoded data // Send an asynchronous request. $req = $client->createRequest('GET', 'http://httpbin.org', ['future' => true]); $client->send($req)->then(function ($response) { echo 'I completed0 码力 | 72 页 | 312.62 KB | 11 月前3
Guzzle PHP 5.3 Documentation54 2 HTTP Components 57 3 Service Description Commands 59 i ii Guzzle Guzzle is a PHP HTTP client that makes it easy to send HTTP requests and trivial to integrate with web services. • Manages things around with cURL options, stream contexts, or sockets. $client = new GuzzleHttp\Client(); $response = $client->get('http://guzzlephp.org'); $res = $client->get('https://api.github.com/user', ['auth' => ['user' JSON decoded data // Send an asynchronous request. $req = $client->createRequest('GET', 'http://httpbin.org', ['future' => true]); $client->send($req)->then(function ($response) { echo 'I completed!0 码力 | 63 页 | 275.75 KB | 11 月前3
Guzzle PHP 6.5 Documentationindex next | Guzzle 6 » Guzzle Documentation Guzzle is a PHP HTTP client that makes it easy to send HTTP requests and trivial to integrate with web services. Simple interface for building query strings non-blocking event loops. Middleware system allows you to augment and compose client behavior. $client = new GuzzleHttp\Client(); $res = $client->request('GET', 'https://api.github.com/user', [ 'auth' => ['user' asynchronous request. $request = new \GuzzleHttp\Psr7\Request('GET', 'http://httpbin.org'); $promise = $client->sendAsync($request)->then(function ($response) { echo 'I completed! ' . $response->getBody();0 码力 | 65 页 | 311.42 KB | 11 月前3
Guzzle PHP 7.0 Documentationindex next | Guzzle 6 » Guzzle Documentation Guzzle is a PHP HTTP client that makes it easy to send HTTP requests and trivial to integrate with web services. Simple interface for building query strings non-blocking event loops. Middleware system allows you to augment and compose client behavior. $client = new GuzzleHttp\Client(); $res = $client->request('GET', 'https://api.github.com/user', [ 'auth' => ['user' asynchronous request. $request = new \GuzzleHttp\Psr7\Request('GET', 'http://httpbin.org'); $promise = $client->sendAsync($request)->then(function ($response) { echo 'I completed! ' . $response->getBody();0 码力 | 64 页 | 310.93 KB | 11 月前3
Guzzle PHP 7.0 Documentation. . . . . . . . . . . . . . . . . . . . . . . . . 46 ii Guzzle, Release Guzzle is a PHP HTTP client that makes it easy to send HTTP requests and trivial to integrate with web services. • Simple interface event loops. • Middleware system allows you to augment and compose client behavior. $client = new GuzzleHttp\Client(); $res = $client->request('GET', 'https://api.github.com/user', [ 'auth' => ['user' asynchronous request. $request = new \GuzzleHttp\Psr7\Request('GET', 'http://httpbin.org'); $promise = $client->sendAsync($request)->then(function ($response) { echo 'I completed! ' . $response->getBody(); });0 码力 | 50 页 | 235.39 KB | 11 月前3
Guzzle PHP 6.5 Documentation. . . . . . . . . . . . . . . . . . . . . . . . . 46 ii Guzzle, Release Guzzle is a PHP HTTP client that makes it easy to send HTTP requests and trivial to integrate with web services. • Simple interface event loops. • Middleware system allows you to augment and compose client behavior. $client = new GuzzleHttp\Client(); $res = $client->request('GET', 'https://api.github.com/user', [ 'auth' => ['user' asynchronous request. $request = new \GuzzleHttp\Psr7\Request('GET', 'http://httpbin.org'); $promise = $client->sendAsync($request)->then(function ($response) { echo 'I completed! ' . $response->getBody(); });0 码力 | 50 页 | 237.04 KB | 11 月前3
Guzzle PHP v5 Documentationindex next | Guzzle 6 » Guzzle Documentation Guzzle is a PHP HTTP client that makes it easy to send HTTP requests and trivial to integrate with web services. Simple interface for building query strings non-blocking event loops. Middleware system allows you to augment and compose client behavior. $client = new GuzzleHttp\Client(); $res = $client->request('GET', 'https://api.github.com/user', [ 'auth' => ['user' asynchronous request. $request = new \GuzzleHttp\Psr7\Request('GET', 'http://httpbin.org'); $promise = $client->sendAsync($request)->then(function ($response) { echo 'I completed! ' . $response->getBody();0 码力 | 62 页 | 309.78 KB | 11 月前3
Guzzle PHP v5 Documentation. . . . . . . . . . . . . . . . . . . . . . . . . 44 ii Guzzle, Release Guzzle is a PHP HTTP client that makes it easy to send HTTP requests and trivial to integrate with web services. • Simple interface event loops. • Middleware system allows you to augment and compose client behavior. $client = new GuzzleHttp\Client(); $res = $client->request('GET', 'https://api.github.com/user', [ 'auth' => ['user' asynchronous request. $request = new \GuzzleHttp\Psr7\Request('GET', 'http://httpbin.org'); $promise = $client->sendAsync($request)->then(function ($response) { echo 'I completed! ' . $response->getBody(); });0 码力 | 49 页 | 231.08 KB | 11 月前3
Falcon v1.0.0 Documentationto ask questions and share your ideas. You can find us in #falconframework [https://kiwiirc.com/client/irc.freenode.net/?#falconframework] on Freenode [https://en.wikipedia.org/wiki/Freenode]. Discussion just need a little help getting started. You can find us in #falconframework [https://kiwiirc.com/client/irc.freenode.net/?#falconframework] on Freenode [https://www.freenode.net/]. It’s the best way to processing the response body when, according to the HTTP spec, no body should be returned. If the client sends a HEAD request, the framework will always return an empty body. Falcon will also return an0 码力 | 312 页 | 368.58 KB | 1 年前3
Falcon v1.2.0 Documentationto ask questions and share your ideas. You can find us in #falconframework [https://kiwiirc.com/client/irc.freenode.net/?#falconframework] on Freenode [https://en.wikipedia.org/wiki/Freenode]. Discussion just need a little help getting started. You can find us in #falconframework [https://kiwiirc.com/client/irc.freenode.net/?#falconframework] on Freenode [https://www.freenode.net/]. It’s the best way to processing the response body when, according to the HTTP spec, no body should be returned. If the client sends a HEAD request, the framework will always return an empty body. Falcon will also return an0 码力 | 177 页 | 252.56 KB | 1 年前3
共 75 条
- 1
- 2
- 3
- 4
- 5
- 6
- 8













