Mercurial > hg > orthanc
comparison Core/HttpServer/BufferHttpSender.h @ 908:e078ea944089 plugins
refactoring HttpOutput
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 19 Jun 2014 17:47:39 +0200 |
parents | 2d0a347e8cfc |
children | ba5c0908600c |
comparison
equal
deleted
inserted
replaced
907:9b8298234254 | 908:e078ea944089 |
---|---|
47 } | 47 } |
48 | 48 |
49 virtual bool SendData(HttpOutput& output) | 49 virtual bool SendData(HttpOutput& output) |
50 { | 50 { |
51 if (buffer_.size()) | 51 if (buffer_.size()) |
52 output.Send(&buffer_[0], buffer_.size()); | 52 { |
53 output.SendBodyData(&buffer_[0], buffer_.size()); | |
54 } | |
53 | 55 |
54 return true; | 56 return true; |
55 } | 57 } |
56 | 58 |
57 public: | 59 public: |