A handler which streams the returned data to a CachedFileStream. The cache file is only created if a 200 OK status is observed.
Synopsis
Declared in <llvm/HTTP/StreamedHTTPResponseHandler.h>
class StreamedHTTPResponseHandler
: public HTTPResponseHandler
Base Classes
Name |
Description |
Handler for state updates while an HTTPRequest is performed. |
Member Functions
Name |
Description |
|
Construct a handler that streams response bodies via |
|
Destroy the streamed HTTP response handler. |
Must be called exactly once after the writes have been completed but before the StreamedHTTPResponseHandler object is destroyed. |
|
|
Processes an additional chunk of bytes of the HTTP response body. |
Created with MrDocs