|
Page Speed Optimization Libraries
1.13.35.1
|
Public Types | |
|
typedef Callback1 < RewriteOptions * > | OptionsCallback |
| Given the request url and request headers, generate the rewrite options. | |
| typedef Callback1< bool > | BoolCallback |
Public Member Functions | |
| virtual void | GetRewriteOptions (const GoogleUrl &url, const RequestHeaders &headers, OptionsCallback *done) |
| virtual void | PrepareRequest (const RewriteOptions *rewrite_options, const RequestContextPtr &request_context, GoogleString *url, RequestHeaders *request_headers, BoolCallback *done) |
| typedef Callback1<bool> net_instaweb::RewriteOptionsManager::BoolCallback |
Modifies the request prior to dispatch to the underlying fetcher. Invokes "done" once preparation has finished with a boolean argument representing success. "url" may be modified by PrepareRequest, but should be owned by the caller.
1.8.6