Page Speed Optimization Libraries  1.3.25.1
Classes | Namespaces
net/instaweb/http/public/url_fetcher.h File Reference
#include "net/instaweb/http/public/request_context.h"
#include "net/instaweb/util/public/string.h"

Go to the source code of this file.

Classes

class  net_instaweb::UrlFetcher

Namespaces

namespace  net_instaweb
 

for StringPiece



Detailed Description

UrlFetcher is an interface for fetching urls.

Todo:
TODO(jmarantz): Consider asynchronous fetches. This may not require a change in interface; we would simply always return 'false' if the url contents is not already cached. We may want to consider a richer return-value enum to distinguish illegal ULRs from invalid ones, from ones where the fetch is in-progress. Or maybe the caller doesn't care.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines