Lines Matching refs:headers
209 // You could use beforeRequest to for example inject a few extra headers.
231 // to inject HTTP authentication headers if a 401 was returned.
335 * @param array $headers
338 public function __construct($method = null, $url = null, array $headers = null, $body = null);
510 * Returns all the HTTP headers as an array.
540 * Resets HTTP headers
542 * This method overwrites all existing HTTP headers
544 * @param array $headers
547 function setHeaders(array $headers);
550 * Adds a new set of HTTP headers.
553 * overwritten, but any other existing headers will be retained.
555 * @param array $headers
558 function addHeaders(array $headers);
655 * Returns all the HTTP headers as an array.
685 * Resets HTTP headers
687 * This method overwrites all existing HTTP headers
689 * @param array $headers
692 function setHeaders(array $headers);
695 * Adds a new set of HTTP headers.
698 * overwritten, but any other existing headers will be retained.
700 * @param array $headers
703 function addHeaders(array $headers);