debug debug Summary Set to true or set to a PHP stream returned by fopen() to enable debug output with the handler used to send a request. For example, when using cURL to tr...
proxy proxy Summary Pass a string to specify an HTTP proxy, or an array to specify different proxies for different protocols. Types string array Default None Constant G...
发送请求 创建客户端 发送请求 异步请求 并发请求 发送请求 你可以使用Guzzle的 GuzzleHttp\ClientInterface 对象来发送请求。 创建客户端 use GuzzleHttp \Client ; $client = new Client ([ // Base URI is ...
Mail Configuration API Drivers Mailgun Driver Mandrill Driver Log Driver Basic Usage Embedding Inline Attachments Embedding An Image In An E-Mail View Embedding Raw Data In ...
body body Summary The body option is used to control the body of an entity enclosing request (e.g., PUT, POST, PATCH). Types string fopen() resource Psr\Http\Message\Stre...
Redirects Redirects Guzzle will automatically follow redirects unless you tell it not to. You can customize the redirect behavior using the allow_redirects request option. S...
2.6 Interface Interface What is an interface Type of Interface Value of interface Empty interface Method arguments of an interface Type of variable in an interface Embedded i...