Lines Matching full:to

15      * to disable redirects, pass true to enable redirects, pass an
16 * associative to provide custom redirect settings. Defaults to "false".
22 * - strict: (bool, default=false) Set to true to use strict redirects
25 * - referer: (bool, default=false) Set to true to enable the Referer
37 * auth: (array) Pass an array of HTTP authentication parameters to use
40 * authentication type in index [2]. Pass null to disable authentication
47 * Body to send in the request.
52 * cert: (string|array) Set to a string to specify the path to a file
54 * is required, then set cert to an array containing the path to the PEM
63 * jar to use or what cookies to send. This option only works if your
71 * seconds to wait while trying to connect to a server. Use 0 to wait
77 * debug: (bool|resource) Set to true or set to a PHP stream returned by
78 * fopen() enable debug output with the HTTP handler used to send a
91 * delay: (int) The amount of time to delay before sending in milliseconds.
99 * Set to `true` to enable the "Expect: 100-Continue" header for all
100 * requests that sends a body. Set to `false` to disable the
101 * "Expect: 100-Continue" header for all requests. Set to a number so that
102 * the size of the payload must be greater than the number in order to send
103 * the Expect header. Setting to a number will send the Expect header for
114 * form_params: (array) Associative array of form field names to values
116 * header to application/x-www-form-urlencoded when no Content-Type header
128 * http_errors: (bool, default=true) Set to false to disable exceptions
137 * idn_to_ascii() PHP's function (see "options" parameter). Set to false to
138 * disable IDN support completely, or to true to use the default
144 * json: (mixed) Adds JSON data to a request. The provided value is JSON
145 * encoded and a Content-Type header of application/json will be added to
152 * required "name" key mapping to the form field, name, a required
153 * "contents" key mapping to a StreamInterface|resource|string, an
155 * optional "filename" key mapping to a string to send as the filename in
157 * will be added to the part.
163 * of the response have been received but the body has not yet begun to
169 * on_stats: (callable) allows you to get access to transfer statistics of
175 * taken to send the request.
180 * progress: (callable) Defines a function to invoke when transfer
182 * arguments: the total number of bytes expected to be downloaded, the
183 * number of bytes downloaded so far, the number of bytes expected to be
189 * proxy: (string|array) Pass a string to specify an HTTP proxy, or an
190 * array to specify different proxies for different protocols (where the
196 * query: (array|string) Associative array of query string values to add
197 * to the request. This option uses PHP's http_build_query() to create
205 * response is written to. Defaults to a PHP temp stream. Providing a
206 * string will write data to a file by the given name.
211 * synchronous: (bool) Set to true to inform HTTP handlers that you intend
219 * ssl_key: (array|string) Specify the path to a file containing a private
220 * SSL key in PEM format. If a password is required, then set to an array
221 * containing the path to the SSL key in the first array element followed
227 * stream: Set to true to attempt to stream a response rather than
234 * verification behavior of a request. Set to true to enable SSL
236 * (the default). Set to false to disable certificate verification (this
237 * is insecure!). Set to a string to provide the path to a CA bundle on
238 * disk to enable verification using a custom certificate.
244 * request in seconds. Use 0 to wait indefinitely (the default behavior).
255 * version: (float) Specifies the HTTP protocol version to attempt to use.
260 * force_ip_resolve: (bool) Force client to use only ipv4 or ipv6 protocol