|
Page Speed Optimization Libraries
1.13.35.1
|
#include "http_response_parser.h"
Public Member Functions | |
| HttpResponseParser (ResponseHeaders *response_headers, Writer *writer, MessageHandler *handler) | |
| bool | ParseFile (FileSystem::InputFile *file) |
| Parse complete HTTP response from a file. | |
| bool | Parse (FILE *stream) |
| bool | ParseChunk (const StringPiece &data) |
| bool | ok () const |
| bool | headers_complete () const |
Helper class to facilitate parsing a raw streaming HTTP response including headers and body.
| bool net_instaweb::HttpResponseParser::Parse | ( | FILE * | stream | ) |
| bool net_instaweb::HttpResponseParser::ParseChunk | ( | const StringPiece & | data | ) |
Read a chunk of HTTP response, populating response_headers and call writer on output body, returning true if the status is ok.
1.8.6