Class for performing HTTP-requests.
Located in /libs/PHPCrawler/PHPCrawlerHTTPRequest.class.php (line 8)
Limit for content-size to receive
Array containing cookies to send with the request
The time it took te receive data-packets for the request.
DNS-cache
Global counter for traffic this instance of the HTTPRequest-class caused.
The last response-header this request-instance received.
Link-finder object
Contains all rules defining the content-types defining which documents shoud get checked for links.
Array containing POST-data to send with the request
The proxy to use
Contains all rules defining the content-types that should be received
Contains all rules defining the content-types of pages/files that should be streamed directly to a temporary file (instead of to memory)
The socket used for HTTP-requests
Timeout-value for socket-connection
Socket-read-timeout
The TMP-File to use when a page/file should be streamed to file.
The URL for the request as PHPCrawlerURLDescriptor-object
The parts of the URL for the request as returned by PHPCrawlerUtils::splitURL()
The user-agent-string
Adds a cookie to send with the request.
Adds a cookie to send with the request.
Adds a bunch of cookies to send with the request
Adds a rule to the list of rules that decide what kind of documents should get checked for links in (regarding their content-type)
Adds post-data to send with the request.
Adds a rule to the list of rules that decides which pages or files - regarding their content-type - should be received
If the content-type of a requested document doesn't match with the given rules, the request will be aborted after the header was received.
Adds a rule to the list of rules that decides what types of content should be streamed diretly to the temporary file.
If a content-type of a page or file matches with one of these rules, the content will be streamed directly into the temporary file given in setTmpFile() without claiming local RAM.
Builds the cookie-header-part for the header to send.
Builds the post-content from the postdata-array for the header to send with the request (MIME-style)
Builds the request-header from the given settings.
Removes all cookies to send with the request.
Removes all post-data to send with the request.
Checks whether the content of this page/file should be received (based on the content-type and the applied rules)
Checks whether the content of this page/file should be streamed directly to file.
Enables/disables aggresive linksearch
Returns the global traffic this instance of the HTTPRequest-class caused so far.
Opens the socket to the host.
Prepares the given HTTP-query-string for the HTTP-request.
Reads the response-content.
Reads the response-header.
Sends the HTTP-request and receives the page/file.
Send the request-header.
Sets basic-authentication login-data for protected URLs.
Sets the size-limit in bytes for content the request should receive.
Specifies whether redirect-links set in http-headers should get searched for.
Sets the html-tags from which to extract/find links from.
Sets the temporary file to use when content of found documents should be streamed directly into a temporary file.
Sets the URL for the request.
Documentation generated on Sun, 20 Jan 2013 21:18:50 +0200 by phpDocumentor 1.4.4