|
Page Speed Optimization Libraries
1.13.35.1
|
#include "chunking_writer.h"
Public Member Functions | |
| ChunkingWriter (Writer *writer, int flush_limit) | |
| virtual bool | Write (const StringPiece &str, MessageHandler *handler) |
| virtual bool | Flush (MessageHandler *handler) |
Public Member Functions inherited from net_instaweb::Writer | |
| virtual bool | Dump (Writer *writer, MessageHandler *message_handler) |
Wraps around an another writer forcing periodic flushes, and making sure writes are not too long.
| net_instaweb::ChunkingWriter::ChunkingWriter | ( | Writer * | writer, |
| int | flush_limit | ||
| ) |
This writer will force a flush every flush_limit bytes. If the flush_limit is <= 0 no extra flushing will be performed. This does NOT take ownership of passed-in writer.
1.8.6