diff options
Diffstat (limited to 'src/HttpSkipResponseCommand.h')
| -rw-r--r-- | src/HttpSkipResponseCommand.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/HttpSkipResponseCommand.h b/src/HttpSkipResponseCommand.h index 2a865cf7..7fb1769d 100644 --- a/src/HttpSkipResponseCommand.h +++ b/src/HttpSkipResponseCommand.h @@ -41,7 +41,7 @@ namespace aria2 { class HttpConnection; class HttpResponse; -class Decoder; +class StreamFilter; class HttpSkipResponseCommand : public AbstractCommand { private: @@ -49,7 +49,9 @@ private: SharedHandle<HttpResponse> httpResponse_; - SharedHandle<Decoder> transferEncodingDecoder_; + SharedHandle<StreamFilter> streamFilter_; + + bool sinkFilterOnly_; uint64_t totalLength_; @@ -72,7 +74,7 @@ public: virtual ~HttpSkipResponseCommand(); - void setTransferEncodingDecoder(const SharedHandle<Decoder>& decoder); + void installStreamFilter(const SharedHandle<StreamFilter>& streamFilter); void disableSocketCheck(); }; |
