|
| setRespHeaders ( $name, $value) |
|
| canFollowRedirects () |
|
| execute () |
|
| __construct ( $url, array $options=[], $caller=__METHOD__, Profiler $profiler=null) |
|
| getContent () |
| Get the body, or content, of the response to the request. More...
|
|
| getCookieJar () |
| Returns the cookie jar in use. More...
|
|
| getFinalUrl () |
| Returns the final URL after all redirections. More...
|
|
| getResponseHeader ( $header) |
| Returns the value of the given response header. More...
|
|
| getResponseHeaders () |
| Returns an associative array of response headers after the request has been executed. More...
|
|
| getStatus () |
| Get the integer value of the HTTP status code (e.g. More...
|
|
| isRedirect () |
| Returns true if the last status code was a redirect. More...
|
|
| read ( $fh, $content) |
| A generic callback to read the body of the response from a remote server. More...
|
|
| setCallback ( $callback) |
| Set a read callback to accept data read from the HTTP request. More...
|
|
| setCookie ( $name, $value, array $attr=[]) |
| Sets a cookie. More...
|
|
| setCookieJar (CookieJar $jar) |
| Tells the MWHttpRequest object to use this pre-loaded CookieJar. More...
|
|
| setData (array $args) |
| Set the parameters of the request. More...
|
|
| setHeader ( $name, $value) |
| Set an arbitrary header. More...
|
|
| setLogger (LoggerInterface $logger) |
|
| setOriginalRequest ( $originalRequest) |
| Set information about the original request. More...
|
|
| setUserAgent ( $UA) |
| Set the user agent. More...
|
|
Definition at line 546 of file HttpTest.php.
◆ setRespHeaders()
CurlHttpRequestTester::setRespHeaders |
( |
|
$name, |
|
|
|
$value |
|
) |
| |
The documentation for this class was generated from the following file: