Page Speed Optimization Libraries
1.13.35.1
|
#include "external_url_fetcher.h"
Public Member Functions | |
virtual void | Fetch (const GoogleString &url, MessageHandler *message_handler, AsyncFetch *fetch) |
void | set_binary (const GoogleString &binary) |
Sets the path to "binary" when fetching using "how". | |
Public Member Functions inherited from net_instaweb::UrlAsyncFetcher | |
virtual bool | SupportsHttps () const |
virtual int64 | timeout_ms () |
virtual void | ShutDown () |
void | set_fetch_with_gzip (bool x) |
bool | fetch_with_gzip () const |
AsyncFetch * | EnableInflation (AsyncFetch *fetch) const |
Static Public Attributes | |
static const char | kDefaultUserAgent [] |
Default user agent to use. | |
Static Public Attributes inherited from net_instaweb::UrlAsyncFetcher | |
static const int64 | kUnspecifiedTimeout |
Protected Member Functions | |
virtual void | AppendHeaders (const RequestHeaders &request_headers, StringVector *escaped_headers) |
Protected Member Functions inherited from net_instaweb::UrlAsyncFetcher | |
UrlAsyncFetcher () | |
Protected Attributes | |
GoogleString | binary_ |
Runs an external command ('wget' by default, or 'curl') via popen for blocking URL fetches.
|
protectedvirtual |
Appends to escaped_headers one header line for each Name, Value pair in request_headers.
|
virtual |
Implements net_instaweb::UrlAsyncFetcher.