Page Speed Optimization Libraries  1.13.35.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Namespaces
proxy_interface.h File Reference
#include "net/instaweb/http/public/url_async_fetcher.h"
#include "pagespeed/kernel/base/basictypes.h"
#include "pagespeed/kernel/base/scoped_ptr.h"
#include "pagespeed/kernel/base/string.h"
#include "pagespeed/kernel/base/string_util.h"

Go to the source code of this file.

Classes

class  net_instaweb::ProxyInterface
 

Namespaces

 net_instaweb
 Unit-test framework for wget fetcher.
 

Detailed Description

Simple interface for running Page Speed Automatic as a proxy.

When implementing a Page Speed Automatic proxy, simply construct a ProxyInterface at start up time and call Fetch for every requested resource. Fetch decides how to deal with requests (pagespeed resources will be computed, HTML pages will be proxied and rewritten, and other resources will just be proxied).