net_instaweb::WgetUrlFetcher Class Reference

Runs 'wget' via popen for blocking URL fetches. More...

#include "wget_url_fetcher.h"

Inheritance diagram for net_instaweb::WgetUrlFetcher:
net_instaweb::UrlFetcher

List of all members.

Public Member Functions

virtual bool StreamingFetchUrl (const GoogleString &url, const RequestHeaders &request_headers, ResponseHeaders *response_headers, Writer *writer, MessageHandler *message_handler)

Static Public Attributes

static const char kDefaultUserAgent []
 Default user agent to use.

Detailed Description

Runs 'wget' via popen for blocking URL fetches.


Member Function Documentation

virtual bool net_instaweb::WgetUrlFetcher::StreamingFetchUrl ( const GoogleString url,
const RequestHeaders request_headers,
ResponseHeaders response_headers,
Writer writer,
MessageHandler message_handler 
) [virtual]
Todo:
TODO(sligocki): Allow protocol version number (e.g. HTTP/1.1) and request type (e.g. GET, POST, etc.) to be specified.

Implements net_instaweb::UrlFetcher.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Generated on Tue May 29 16:33:55 2012 for Page Speed Optimization Libraries by  doxygen 1.6.3