Lines Matching full:to
14 * to disable redirects, pass true to enable redirects, pass an
15 * associative to provide custom redirect settings. Defaults to "false".
21 * - strict: (bool, default=false) Set to true to use strict redirects
24 * - referer: (bool, default=false) Set to true to enable the Referer
36 * auth: (array) Pass an array of HTTP authentication parameters to use
39 * authentication type in index [2]. Pass null to disable authentication
46 * Body to send in the request.
51 * cert: (string|array) Set to a string to specify the path to a file
53 * is required, then set cert to an array containing the path to the PEM
62 * jar to use or what cookies to send. This option only works if your
70 * seconds to wait while trying to connect to a server. Use 0 to wait
77 * version to use.
79 * This setting must be set to one of the
81 * required in order to use TLS 1.3, and cURL 7.34.0 or higher is required
82 * in order to specify a crypto method, with cURL 7.52.0 or higher being
83 * required to use TLS 1.3.
88 * debug: (bool|resource) Set to true or set to a PHP stream returned by
89 * fopen() enable debug output with the HTTP handler used to send a
102 * delay: (int) The amount of time to delay before sending in milliseconds.
110 * Set to `true` to enable the "Expect: 100-Continue" header for all
111 * requests that sends a body. Set to `false` to disable the
112 * "Expect: 100-Continue" header for all requests. Set to a number so that
113 * the size of the payload must be greater than the number in order to send
114 * the Expect header. Setting to a number will send the Expect header for
125 * form_params: (array) Associative array of form field names to values
127 * header to application/x-www-form-urlencoded when no Content-Type header
139 * http_errors: (bool, default=true) Set to false to disable exceptions
148 * idn_to_ascii() PHP's function (see "options" parameter). Set to false to
149 * disable IDN support completely, or to true to use the default
155 * json: (mixed) Adds JSON data to a request. The provided value is JSON
156 * encoded and a Content-Type header of application/json will be added to
163 * required "name" key mapping to the form field, name, a required
164 * "contents" key mapping to a StreamInterface|resource|string, an
166 * optional "filename" key mapping to a string to send as the filename in
168 * will be added to the part.
174 * of the response have been received but the body has not yet begun to
180 * on_stats: (callable) allows you to get access to transfer statistics of
186 * taken to send the request.
191 * progress: (callable) Defines a function to invoke when transfer
193 * arguments: the total number of bytes expected to be downloaded, the
194 * number of bytes downloaded so far, the number of bytes expected to be
200 * proxy: (string|array) Pass a string to specify an HTTP proxy, or an
201 * array to specify different proxies for different protocols (where the
207 * query: (array|string) Associative array of query string values to add
208 * to the request. This option uses PHP's http_build_query() to create
216 * response is written to. Defaults to a PHP temp stream. Providing a
217 * string will write data to a file by the given name.
222 * synchronous: (bool) Set to true to inform HTTP handlers that you intend
230 * ssl_key: (array|string) Specify the path to a file containing a private
231 * SSL key in PEM format. If a password is required, then set to an array
232 * containing the path to the SSL key in the first array element followed
238 * stream: Set to true to attempt to stream a response rather than
245 * verification behavior of a request. Set to true to enable SSL
247 * (the default). Set to false to disable certificate verification (this
248 * is insecure!). Set to a string to provide the path to a CA bundle on
249 * disk to enable verification using a custom certificate.
255 * request in seconds. Use 0 to wait indefinitely (the default behavior).
266 * version: (float) Specifies the HTTP protocol version to attempt to use.
271 * force_ip_resolve: (bool) Force client to use only ipv4 or ipv6 protocol