Mercurial > hg > orthanc
diff OrthancFramework/Sources/HttpServer/HttpStreamTranscoder.h @ 4298:db3932f9660d
abi continued
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 05 Nov 2020 18:21:03 +0100 |
parents | 2d5209153b32 |
children | d9473bd5ed43 |
line wrap: on
line diff
--- a/OrthancFramework/Sources/HttpServer/HttpStreamTranscoder.h Thu Nov 05 17:20:49 2020 +0100 +++ b/OrthancFramework/Sources/HttpServer/HttpStreamTranscoder.h Thu Nov 05 18:21:03 2020 +0100 @@ -48,29 +48,15 @@ public: HttpStreamTranscoder(IHttpStreamAnswer& source, - CompressionType compression) : - source_(source), - sourceCompression_(compression), - bytesToSkip_(0), - skipped_(0), - currentChunkOffset_(0), - ready_(false) - { - } + CompressionType compression); // This is the first method to be called virtual HttpCompression SetupHttpCompression(bool gzipAllowed, bool deflateAllowed) ORTHANC_OVERRIDE; - virtual bool HasContentFilename(std::string& filename) ORTHANC_OVERRIDE - { - return source_.HasContentFilename(filename); - } + virtual bool HasContentFilename(std::string& filename) ORTHANC_OVERRIDE; - virtual std::string GetContentType() ORTHANC_OVERRIDE - { - return source_.GetContentType(); - } + virtual std::string GetContentType() ORTHANC_OVERRIDE; virtual uint64_t GetContentLength() ORTHANC_OVERRIDE;