Request Options

You can customize requests created and transferred by a client usingrequest options. Request options control various aspects of a requestincluding, headers, query string parameters, timeout settings, the body of arequest, and much more.

All of the following examples use the following client:

  1. $client = new GuzzleHttp\Client(['base_uri' => 'http://httpbin.org']);