comparison Core/HttpServer/HttpOutput.h @ 339:639272ef7615

answer raw buffers
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 16 Jan 2013 15:14:54 +0100
parents 78a8eaa5f30b
children bdd72233b105
comparison
equal deleted inserted replaced
338:3a3b3ba8c1e0 339:639272ef7615
53 uint64_t contentLength, 53 uint64_t contentLength,
54 const char* contentFilename); 54 const char* contentFilename);
55 55
56 void SendOkHeader(const Header& header); 56 void SendOkHeader(const Header& header);
57 57
58 void PrepareCookies(Header& header,
59 const HttpHandler::Arguments& cookies);
60
58 public: 61 public:
59 virtual ~HttpOutput() 62 virtual ~HttpOutput()
60 { 63 {
61 } 64 }
62 65
85 const HttpHandler::Arguments& cookies); 88 const HttpHandler::Arguments& cookies);
86 89
87 void AnswerBufferWithContentType(const void* buffer, 90 void AnswerBufferWithContentType(const void* buffer,
88 size_t size, 91 size_t size,
89 const std::string& contentType); 92 const std::string& contentType);
93
94 void AnswerBufferWithContentType(const void* buffer,
95 size_t size,
96 const std::string& contentType,
97 const HttpHandler::Arguments& cookies);
90 }; 98 };
91 } 99 }