#include "async_fetch.h"
Public Member Functions | |
StringAsyncFetch (GoogleString *buffer) | |
virtual bool | HandleWrite (const StringPiece &content, MessageHandler *handler) |
virtual bool | HandleFlush (MessageHandler *handler) |
virtual void | HandleHeadersComplete () |
virtual void | HandleDone (bool success) |
bool | success () const |
bool | done () const |
const GoogleString & | buffer () const |
void | Reset () |
Class to represent an Async fetch that collects the response-data into a string, which can be accessed via buffer() and cleared via Reset().
void net_instaweb::StringAsyncFetch::Reset | ( | ) | [inline, virtual] |
Resets the 'headers_complete_' flag.
Reimplemented from net_instaweb::AsyncFetch.