Mercurial > hg > orthanc
comparison Core/HttpServer/HttpOutputStream.h @ 909:ef71057d8b26 plugins
refactoring
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 20 Jun 2014 13:30:53 +0200 |
parents | e078ea944089 |
children |
comparison
equal
deleted
inserted
replaced
908:e078ea944089 | 909:ef71057d8b26 |
---|---|
55 protected: | 55 protected: |
56 virtual void OnHttpStatusReceived(HttpStatus status) | 56 virtual void OnHttpStatusReceived(HttpStatus status) |
57 { | 57 { |
58 } | 58 } |
59 | 59 |
60 virtual void SendHeader(const void* buffer, size_t length) = 0; | 60 virtual void Send(bool isHeader, const void* buffer, size_t length) = 0; |
61 | |
62 virtual void SendBody(const void* buffer, size_t length) = 0; | |
63 | 61 |
64 public: | 62 public: |
65 HttpOutputStream() : state_(State_WaitingHttpStatus) | 63 HttpOutputStream() : state_(State_WaitingHttpStatus) |
66 { | 64 { |
67 } | 65 } |